public final class PointerV5 extends Pointer
| Constructor and Description |
|---|
PointerV5() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
destinationCompressed() |
boolean |
destinationHasChunks() |
boolean |
destinationHasPointers() |
boolean |
destinationHasStrings() |
int |
getNumPointers(int offset,
byte[] data)
16 bit int at the given offset
|
int |
getNumPointersOffset(byte[] data)
Depends on the type only, not stored
|
int |
getPostNumPointersSkip()
Just the 2 bytes of the number of pointers
|
int |
getSizeInBytes()
With v6 pointers, the on-disk size is 16 bytes
|
getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setTypepublic boolean destinationHasStrings()
destinationHasStrings in class Pointerpublic boolean destinationHasPointers()
destinationHasPointers in class Pointerpublic boolean destinationHasChunks()
destinationHasChunks in class Pointerpublic boolean destinationCompressed()
destinationCompressed in class Pointerpublic int getSizeInBytes()
getSizeInBytes in class Pointerpublic int getNumPointersOffset(byte[] data)
getNumPointersOffset in class Pointerpublic int getNumPointers(int offset,
byte[] data)
getNumPointers in class Pointerpublic int getPostNumPointersSkip()
getPostNumPointersSkip in class PointerCopyright 2018 The Apache Software Foundation or its licensors, as applicable.