Class CopyFromBytes.Bytes
java.lang.Object
org.apache.sis.internal.storage.inflater.Inflater
org.apache.sis.internal.storage.inflater.CopyFromBytes
org.apache.sis.internal.storage.inflater.CopyFromBytes.Bytes
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- CopyFromBytes
Inflater for sample values stored as bytes.
-
Field Summary
FieldsFields inherited from class org.apache.sis.internal.storage.inflater.Inflater
chunksPerRow, elementsPerChunk, input, skipAfterChunks -
Constructor Summary
ConstructorsConstructorDescriptionBytes(ChannelDataInput input, int count, int size, int[] skips, int divisor) Creates a new inflater which will write in the given buffer. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetInputOutput(long start, long byteCount, Buffer bank) Sets the destination bank.voidReads a row of sample values.Methods inherited from class org.apache.sis.internal.storage.inflater.CopyFromBytes
create, skip, skipAfterChunk
-
Field Details
-
bank
Where to copy the values that we will read.
-
-
Constructor Details
-
Bytes
Bytes(ChannelDataInput input, int count, int size, int[] skips, int divisor) Creates a new inflater which will write in the given buffer.
-
-
Method Details
-
setInputOutput
Sets the destination bank.- Overrides:
setInputOutputin classCopyFromBytes- Parameters:
start- input stream position where to start reading.byteCount- number of bytes to read before decompression.bank- where to store sample values.- Throws:
IOException- if an I/O operation was required and failed.
-
uncompressRow
Reads a row of sample values.- Overrides:
uncompressRowin classCopyFromBytes- Throws:
IOException- if an error occurred while reading the input channel.
-