Returns a text (text, comment, pi) or attribute value. @param offset text offset @param text text or attribute flag @return text
(final long offset, final boolean text)
| 303 | * @return text |
| 304 | */ |
| 305 | private byte[] txt(final long offset, final boolean text) { |
| 306 | final byte[] txt = (text ? texts : values).readToken(offset & Compress.COMPRESS - 1); |
| 307 | return Compress.compressed(offset) ? Compress.unpack(txt) : txt; |
| 308 | } |
| 309 | |
| 310 | @Override |
| 311 | public boolean inMemory() { |