public interface Decoder
| Modifier and Type | Method and Description |
|---|---|
ExtendedDataInput |
decompress(DataInput in,
int length,
int unitLength,
int elementCount,
boolean isLittleEndian,
int extra,
int type,
short scale)
This method takes in an input stream with many blocks and decompresses them all into a byte array
|
ExtendedDataInput decompress(DataInput in, int length, int unitLength, int elementCount, boolean isLittleEndian, int extra, int type, short scale) throws IOException
Form of input: 1. 4 bytes - block size 2. contents 3. 4 bytes - block size 4. contents ...
in - input streamlength - input length, continue from current position of input streamunitLength - The length of an element in bytes. It is zero if the element is a string object.IOExceptionCopyright © 2024 DolphinDB. All rights reserved.