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
(给定偏移量的 16 位 int)
|
int |
getNumPointersOffset(byte[] data)
Depends on the type only, not stored
(仅取决于类型,不存储)
|
int |
getPostNumPointersSkip()
Just the 2 bytes of the number of pointers
(只是指针数量的 2 个字节)
|
int |
getSizeInBytes()
With v6 pointers, the on-disk size is 16 bytes
(使用 v6 指针,磁盘大小为 16 字节)
|
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
(类 Pointer 中的 destinationHasChunks)
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 int getNumPointers(int offset, byte[] data)
getNumPointers
in class
Pointer
()
public int getPostNumPointersSkip()
getPostNumPointersSkip
in class
Pointer
(类 Pointer 中的 getPostNumPointersSkip)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.