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, setType
public boolean destinationHasStrings()
destinationHasStrings
in class Pointer
public boolean destinationHasPointers()
destinationHasPointers
in class Pointer
public boolean destinationHasChunks()
destinationHasChunks
in class Pointer
public boolean destinationCompressed()
destinationCompressed
in class Pointer
public int getSizeInBytes()
getSizeInBytes
in class Pointer
public int getNumPointersOffset(byte[] data)
getNumPointersOffset
in class Pointer
public int getNumPointers(int offset, byte[] data)
getNumPointers
in class Pointer
public int getPostNumPointersSkip()
getPostNumPointersSkip
in class Pointer
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.