public class LuraWaveCodec extends AbstractCodec
-Dlurawave.license=XXXX on the command line).| Constructor and Description |
|---|
LuraWaveCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(byte[] data,
CodecOptions options)
Compresses a block of data.
|
byte[] |
decompress(byte[] buf,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
maxBytes |
byte[] |
decompress(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> in,
CodecOptions options)
Decompresses data from the given DataHandle.
|
compress, decompress, decompress, decompress, testgetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic byte[] compress(byte[] data,
CodecOptions options)
throws FormatException
Codecdata - 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.public byte[] decompress(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> in, CodecOptions options) throws FormatException, IOException
Codecin - 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.IOExceptionpublic byte[] decompress(byte[] buf,
CodecOptions options)
throws FormatException
maxBytesdecompress in interface Codecdecompress in class AbstractCodecbuf - the data to be decompressedoptions - Options to be used during decompression.FormatException - If data is not valid.Codec.decompress(byte[], CodecOptions)Copyright © 2011–2026 SCIFIO. All rights reserved.