public interface Codec
Modifier and Type | Method and Description |
---|---|
byte[] |
compress(byte[][] data,
CodecOptions options)
Compresses a block of data.
|
byte[] |
compress(byte[] data,
CodecOptions options)
Compresses a block of data.
|
byte[] |
decompress(byte[] data)
Decompresses a block of data.
|
byte[] |
decompress(byte[][] data)
Decompresses a block of data.
|
byte[] |
decompress(byte[][] data,
CodecOptions options)
Decompresses a block of data.
|
byte[] |
decompress(byte[] data,
CodecOptions options)
Decompresses a block of data.
|
byte[] |
decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
Decompresses data from the given RandomAccessInputStream.
|
byte[] compress(byte[] data, CodecOptions options) throws FormatException
data
- The data to be compressed.options
- Options to be used during compression, if appropriate.FormatException
- If input is not a compressed data block of the
appropriate type.byte[] compress(byte[][] data, CodecOptions options) throws FormatException
data
- The data to be compressed.options
- Options to be used during compression, if appropriate.FormatException
- If input is not a compressed data block of the
appropriate type.byte[] decompress(byte[] data, CodecOptions options) throws FormatException
data
- the data to be decompressedoptions
- Options to be used during decompression.FormatException
- If data is not valid.byte[] decompress(byte[][] data, CodecOptions options) throws FormatException
data
- the data to be decompressedoptions
- Options to be used during decompression.FormatException
- If data is not valid.byte[] decompress(byte[] data) throws FormatException
data
- the data to be decompressed.FormatException
- If data is not valid compressed data for this
decompressor.byte[] decompress(byte[][] data) throws FormatException
data
- The data to be decompressed.FormatException
- If data is not valid compressed data for this
decompressor.byte[] decompress(loci.common.RandomAccessInputStream in, CodecOptions options) throws FormatException, java.io.IOException
in
- The stream from which to read compressed data.options
- Options to be used during decompression.FormatException
- If data is not valid compressed data for this
decompressor.java.io.IOException
Copyright © 2021 Open Microscopy Environment