Structure must be first init to 0, using memset(), setting all parameters to default. It's then possible to update selectively some parameter.
struct LZ4F_frameInfo_t {
LZ4F_blockSizeID_t blockSizeID;
LZ4F_blockMode_t blockMode;
LZ4F_contentChecksum_t contentChecksumFlag;
LZ4F_frameType_t frameType;
unsigned long long contentSize;
unsigned dictID;
LZ4F_blockChecksum_t blockChecksumFlag;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | LZ4FFrameInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BLOCKCHECKSUMFLAG
The struct member offsets. |
| public static final int | BLOCKMODE
The struct member offsets. |
| public static final int | BLOCKSIZEID
The struct member offsets. |
| public static final int | CONTENTCHECKSUMFLAG
The struct member offsets. |
| public static final int | CONTENTSIZE
The struct member offsets. |
| public static final int | DICTID
The struct member offsets. |
| public static final int | FRAMETYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | LZ4FFrameInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | blockChecksumFlag()
1: each block followed by a checksum of block's compressed data; 0: disabled (default) |
| public LZ4FFrameInfo | |
| public int | |
| public LZ4FFrameInfo | |
| public int | |
| public LZ4FFrameInfo | |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static LZ4FFrameInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static LZ4FFrameInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | |
| public static LZ4FFrameInfo. | |
| public int | contentChecksumFlag()
1: frame terminated with 32-bit checksum of decompressed data; 0: disabled (default) |
| public LZ4FFrameInfo | |
| public long | |
| public LZ4FFrameInfo | |
| protected LZ4FFrameInfo | 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 LZ4FFrameInfo | |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static LZ4FFrameInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | |
| public int | dictID()
dictionary ID, sent by compressor to help decoder select correct dictionary; 0 == no |
| public LZ4FFrameInfo | |
| public int | |
| public LZ4FFrameInfo | |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static LZ4FFrameInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static LZ4FFrameInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo | |
| public static LZ4FFrameInfo. | |
| public static LZ4FFrameInfo. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public LZ4FFrameInfo | set(int blockSizeID, int blockMode, int contentChecksumFlag, int frameType, long contentSize, int dictID, int blockChecksumFlag)
Initializes this struct with the specified values. |
| public LZ4FFrameInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BLOCKCHECKSUMFLAG | back to summary |
|---|---|
| public static final int BLOCKCHECKSUMFLAG The struct member offsets. | |
| BLOCKMODE | back to summary |
|---|---|
| public static final int BLOCKMODE The struct member offsets. | |
| BLOCKSIZEID | back to summary |
|---|---|
| public static final int BLOCKSIZEID The struct member offsets. | |
| CONTENTCHECKSUMFLAG | back to summary |
|---|---|
| public static final int CONTENTCHECKSUMFLAG The struct member offsets. | |
| CONTENTSIZE | back to summary |
|---|---|
| public static final int CONTENTSIZE The struct member offsets. | |
| DICTID | back to summary |
|---|---|
| public static final int DICTID The struct member offsets. | |
| FRAMETYPE | back to summary |
|---|---|
| public static final int FRAMETYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| LZ4FFrameInfo | back to summary |
|---|---|
| protected LZ4FFrameInfo(long address, ByteBuffer container) | |
| LZ4FFrameInfo | back to summary |
|---|---|
| public LZ4FFrameInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| blockChecksumFlag | back to summary |
|---|---|
| public int blockChecksumFlag() 1: each block followed by a checksum of block's compressed data; 0: disabled (default)
| |
| blockChecksumFlag | back to summary |
|---|---|
| public LZ4FFrameInfo blockChecksumFlag(int value) Sets the specified value to the | |
| blockMode | back to summary | |||
|---|---|---|---|---|
| public int blockMode()
| ||||
| blockMode | back to summary |
|---|---|
| public LZ4FFrameInfo blockMode(int value) Sets the specified value to the | |
| blockSizeID | back to summary | ||||
|---|---|---|---|---|---|
| public int blockSizeID()
| |||||
| blockSizeID | back to summary |
|---|---|
| public LZ4FFrameInfo blockSizeID(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static LZ4FFrameInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static LZ4FFrameInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static LZ4FFrameInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static LZ4FFrameInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| contentChecksumFlag | back to summary |
|---|---|
| public int contentChecksumFlag() 1: frame terminated with 32-bit checksum of decompressed data; 0: disabled (default)
| |
| contentChecksumFlag | back to summary |
|---|---|
| public LZ4FFrameInfo contentChecksumFlag(int value) Sets the specified value to the | |
| contentSize | back to summary |
|---|---|
| public long contentSize() size of uncompressed content ;
| |
| contentSize | back to summary |
|---|---|
| public LZ4FFrameInfo contentSize(long value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected LZ4FFrameInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static LZ4FFrameInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static LZ4FFrameInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static LZ4FFrameInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static LZ4FFrameInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static LZ4FFrameInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static LZ4FFrameInfo. Like
| |
| dictID | back to summary |
|---|---|
| public int dictID() dictionary ID, sent by compressor to help decoder select correct dictionary; 0 == no
| |
| dictID | back to summary |
|---|---|
| public LZ4FFrameInfo dictID(int value) Sets the specified value to the | |
| frameType | back to summary | ||
|---|---|---|---|
| public int frameType() read-only field. One of:
| |||
| frameType | back to summary |
|---|---|
| public LZ4FFrameInfo frameType(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static LZ4FFrameInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static LZ4FFrameInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static LZ4FFrameInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static LZ4FFrameInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static LZ4FFrameInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nblockChecksumFlag | back to summary |
|---|---|
| public static int nblockChecksumFlag(long struct) Unsafe version of | |
| nblockChecksumFlag | back to summary |
|---|---|
| public static void nblockChecksumFlag(long struct, int value) Unsafe version of | |
| nblockMode | back to summary |
|---|---|
| public static int nblockMode(long struct) Unsafe version of | |
| nblockMode | back to summary |
|---|---|
| public static void nblockMode(long struct, int value) Unsafe version of | |
| nblockSizeID | back to summary |
|---|---|
| public static int nblockSizeID(long struct) Unsafe version of | |
| nblockSizeID | back to summary |
|---|---|
| public static void nblockSizeID(long struct, int value) Unsafe version of | |
| ncontentChecksumFlag | back to summary |
|---|---|
| public static int ncontentChecksumFlag(long struct) Unsafe version of | |
| ncontentChecksumFlag | back to summary |
|---|---|
| public static void ncontentChecksumFlag(long struct, int value) Unsafe version of | |
| ncontentSize | back to summary |
|---|---|
| public static long ncontentSize(long struct) Unsafe version of | |
| ncontentSize | back to summary |
|---|---|
| public static void ncontentSize(long struct, long value) Unsafe version of | |
| ndictID | back to summary |
|---|---|
| public static int ndictID(long struct) Unsafe version of | |
| ndictID | back to summary |
|---|---|
| public static void ndictID(long struct, int value) Unsafe version of | |
| nframeType | back to summary |
|---|---|
| public static int nframeType(long struct) Unsafe version of | |
| nframeType | back to summary |
|---|---|
| public static void nframeType(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public LZ4FFrameInfo set(int blockSizeID, int blockMode, int contentChecksumFlag, int frameType, long contentSize, int dictID, int blockChecksumFlag) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public LZ4FFrameInfo set(LZ4FFrameInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
LZ4FFrameInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final LZ4FFrameInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public LZ4FFrameInfo. | |
| public int | |
| public LZ4FFrameInfo. | |
| public int | |
| public LZ4FFrameInfo. | |
| public int | |
| public LZ4FFrameInfo. | contentChecksumFlag(int value)
Sets the specified value to the |
| public long | |
| public LZ4FFrameInfo. | |
| public int | |
| public LZ4FFrameInfo. | |
| public int | |
| public LZ4FFrameInfo. | |
| protected LZ4FFrameInfo | |
| protected LZ4FFrameInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final LZ4FFrameInfo 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) | |
| blockChecksumFlag | back to summary |
|---|---|
public int blockChecksumFlag()
| |
| blockChecksumFlag | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| blockMode | back to summary |
|---|---|
public int blockMode()
| |
| blockMode | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| blockSizeID | back to summary |
|---|---|
public int blockSizeID()
| |
| blockSizeID | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| contentChecksumFlag | back to summary |
|---|---|
public int contentChecksumFlag()
| |
| contentChecksumFlag | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| contentSize | back to summary |
|---|---|
public long contentSize()
| |
| contentSize | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| dictID | back to summary |
|---|---|
public int dictID()
| |
| dictID | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| frameType | back to summary |
|---|---|
public int frameType()
| |
| frameType | back to summary |
|---|---|
| public LZ4FFrameInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected LZ4FFrameInfo getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected LZ4FFrameInfo. Implements abstract org.
| |