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, 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 static int getNumPointersOffsetV6(byte[] data)
public int getNumPointers(int offset,
byte[] data)
getNumPointers in class Pointerpublic static int getNumPointersV6(int offset,
byte[] data)
public int getPostNumPointersSkip()
getPostNumPointersSkip in class Pointerpublic static int getPostNumPointersSkipV6()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.