public final class PointerV6 extends Pointer
Constructor and Description |
---|
PointerV6() |
Modifier and Type | Method and Description |
---|---|
boolean |
destinationCompressed() |
boolean |
destinationHasChunks() |
boolean |
destinationHasPointers() |
boolean |
destinationHasStrings() |
int |
getNumPointers(int offset,
byte[] data)
32 bit int at the given offset
|
int |
getNumPointersOffset(byte[] data)
Stored within the data
|
static int |
getNumPointersOffsetV6(byte[] data) |
static int |
getNumPointersV6(int offset,
byte[] data) |
int |
getPostNumPointersSkip()
4 bytes of the number, and 4 more unknown bytes
|
static int |
getPostNumPointersSkipV6() |
int |
getSizeInBytes()
With v6 pointers, the on-disk size is 18 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 static int getNumPointersOffsetV6(byte[] data)
public int getNumPointers(int offset, byte[] data)
getNumPointers
in class Pointer
public static int getNumPointersV6(int offset, byte[] data)
public int getPostNumPointersSkip()
getPostNumPointersSkip
in class Pointer
public static int getPostNumPointersSkipV6()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.