struct ZSTD_frameHeader {
unsigned long long frameContentSize;
unsigned long long windowSize;
unsigned int blockSizeMax;
ZSTD_frameType_e frameType;
unsigned int headerSize;
unsigned int dictID;
unsigned int checksumFlag;
unsigned _reserved1;
unsigned _reserved2;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZSTDFrameHeader.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | _RESERVED1
The struct member offsets. |
| public static final int | _RESERVED2
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BLOCKSIZEMAX
The struct member offsets. |
| public static final int | CHECKSUMFLAG
The struct member offsets. |
| public static final int | DICTID
The struct member offsets. |
| public static final int | FRAMECONTENTSIZE
The struct member offsets. |
| public static final int | FRAMETYPE
The struct member offsets. |
| public static final int | HEADERSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WINDOWSIZE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZSTDFrameHeader(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDFrameHeader | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDFrameHeader. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | |
| public static ZSTDFrameHeader. | |
| public int | |
| protected ZSTDFrameHeader | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | create(int
the buffer capacity capacity)Returns a new |
| public static ZSTDFrameHeader. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | |
| public int | |
| public long | |
| public int | |
| public int | |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDFrameHeader | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDFrameHeader. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader | |
| public static ZSTDFrameHeader. | |
| public static ZSTDFrameHeader. | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static long | |
| public int | |
| public long |
| _RESERVED1 | back to summary |
|---|---|
| public static final int _RESERVED1 The struct member offsets. | |
| _RESERVED2 | back to summary |
|---|---|
| public static final int _RESERVED2 The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BLOCKSIZEMAX | back to summary |
|---|---|
| public static final int BLOCKSIZEMAX The struct member offsets. | |
| CHECKSUMFLAG | back to summary |
|---|---|
| public static final int CHECKSUMFLAG The struct member offsets. | |
| DICTID | back to summary |
|---|---|
| public static final int DICTID The struct member offsets. | |
| FRAMECONTENTSIZE | back to summary |
|---|---|
| public static final int FRAMECONTENTSIZE The struct member offsets. | |
| FRAMETYPE | back to summary |
|---|---|
| public static final int FRAMETYPE The struct member offsets. | |
| HEADERSIZE | back to summary |
|---|---|
| public static final int HEADERSIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WINDOWSIZE | back to summary |
|---|---|
| public static final int WINDOWSIZE The struct member offsets. | |
| ZSTDFrameHeader | back to summary |
|---|---|
| protected ZSTDFrameHeader(long address, ByteBuffer container) | |
| ZSTDFrameHeader | back to summary |
|---|---|
| public ZSTDFrameHeader(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| blockSizeMax | back to summary |
|---|---|
public int blockSizeMax()
| |
| calloc | back to summary |
|---|---|
| public static ZSTDFrameHeader calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZSTDFrameHeader. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDFrameHeader calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDFrameHeader. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| checksumFlag | back to summary |
|---|---|
public int checksumFlag()
| |
| create | back to summary |
|---|---|
| protected ZSTDFrameHeader create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZSTDFrameHeader create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDFrameHeader create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDFrameHeader. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZSTDFrameHeader. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDFrameHeader createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDFrameHeader. Like
| |
| dictID | back to summary |
|---|---|
public int dictID()
| |
| frameContentSize | back to summary |
|---|---|
| public long frameContentSize() if ==
| |
| frameType | back to summary |
|---|---|
| public int frameType() if ==
| |
| headerSize | back to summary |
|---|---|
public int headerSize()
| |
| malloc | back to summary |
|---|---|
| public static ZSTDFrameHeader malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZSTDFrameHeader. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDFrameHeader malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDFrameHeader. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDFrameHeader. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| n_reserved1 | back to summary |
|---|---|
| public static int n_reserved1(long struct) | |
| n_reserved2 | back to summary |
|---|---|
| public static int n_reserved2(long struct) | |
| nblockSizeMax | back to summary |
|---|---|
| public static int nblockSizeMax(long struct) Unsafe version of | |
| nchecksumFlag | back to summary |
|---|---|
| public static int nchecksumFlag(long struct) Unsafe version of | |
| ndictID | back to summary |
|---|---|
| public static int ndictID(long struct) Unsafe version of | |
| nframeContentSize | back to summary |
|---|---|
| public static long nframeContentSize(long struct) Unsafe version of | |
| nframeType | back to summary |
|---|---|
| public static int nframeType(long struct) Unsafe version of | |
| nheaderSize | back to summary |
|---|---|
| public static int nheaderSize(long struct) Unsafe version of | |
| nwindowSize | back to summary |
|---|---|
| public static long nwindowSize(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| windowSize | back to summary |
|---|---|
| public long windowSize() can be very large, up to ≤
| |
ZSTDFrameHeader structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZSTDFrameHeader |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public long | |
| public int | |
| protected ZSTDFrameHeader | |
| public int | |
| protected ZSTDFrameHeader. | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZSTDFrameHeader ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| blockSizeMax | back to summary |
|---|---|
public int blockSizeMax()
| |
| checksumFlag | back to summary |
|---|---|
public int checksumFlag()
| |
| dictID | back to summary |
|---|---|
public int dictID()
| |
| frameContentSize | back to summary |
|---|---|
public long frameContentSize()
| |
| frameType | back to summary |
|---|---|
public int frameType()
| |
| getElementFactory | back to summary |
|---|---|
| protected ZSTDFrameHeader getElementFactory() Implements abstract org.
| |
| headerSize | back to summary |
|---|---|
public int headerSize()
| |
| self | back to summary |
|---|---|
| protected ZSTDFrameHeader. Implements abstract org.
| |
| windowSize | back to summary |
|---|---|
public long windowSize()
| |