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
(数字的 4 个字节,还有 4 个未知字节)
|
static int |
getPostNumPointersSkipV6() |
int |
getSizeInBytes()
With v6 pointers, the on-disk size is 18 bytes
(使用 v6 指针,磁盘大小为 18 字节)
|
getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setType
public boolean destinationHasStrings()
destinationHasStrings
in class
Pointer
(类 Pointer 中的 destinationHasStrings)
public boolean destinationHasPointers()
destinationHasPointers
in class
Pointer
(类 Pointer 中的 destinationHasPointers)
public boolean destinationHasChunks()
destinationHasChunks
in class
Pointer
()
public boolean destinationCompressed()
destinationCompressed
in class
Pointer
(类Pointer中的destinationCompressed)
public int getSizeInBytes()
getSizeInBytes
in class
Pointer
(类 Pointer 中的 getSizeInBytes)
public int getNumPointersOffset(byte[] data)
getNumPointersOffset
in class
Pointer
(类 Pointer 中的 getNumPointersOffset)
public static int getNumPointersOffsetV6(byte[] data)
public int getNumPointers(int offset, byte[] data)
getNumPointers
in class
Pointer
(类 Pointer 中的 getNumPointers)
public static int getNumPointersV6(int offset, byte[] data)
public int getPostNumPointersSkip()
getPostNumPointersSkip
in class
Pointer
(类 Pointer 中的 getPostNumPointersSkip)
public static int getPostNumPointersSkipV6()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.