B C D E F G R S T W 

B

Buffer - Class in de.jarnbjo.jsnappy
Reusable byte array buffer, which can be used for input/output in the Snappy encoder oder decoder.
Buffer() - Constructor for class de.jarnbjo.jsnappy.Buffer
Creates an unitialized buffer.
Buffer(int) - Constructor for class de.jarnbjo.jsnappy.Buffer
Creates an initialized buffer with the specified capacity.

C

close() - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Flushes the remaining data into a new compressed block, writes an end-of-stream marker and closes the underlaying output stream.
compress(byte[]) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in, 0, in.length, null).
compress(byte[], Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in, 0, in.length, out).
compress(byte[], int, int) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in, offset, length, null).
compress(Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in.getData(), 0, in.getLength(), null).
compress(Buffer, Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in.getData(), 0, in.getLength(), out).
compress(byte[], int, int, Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Equivalent to compress(in.getData(), 0, in.getLength(), out, DEFAULT_EFFORT).
compress(byte[], int, int, Buffer, int) - Static method in class de.jarnbjo.jsnappy.SnappyCompressor
Compress the data contained in in from offset and length bytes.

D

de.jarnbjo.jsnappy - package de.jarnbjo.jsnappy
 
decompress(byte[]) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Equivalent to decompress(in, 0, in.length, null).
decompress(byte[], Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Equivalent to decompress(in, 0, in.length, out).
decompress(byte[], int, int) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Equivalent to decompress(in, offset, length, null).
decompress(Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Equivalent to decompress(in.getData(), 0, in.getLength(), null).
decompress(Buffer, Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Equivalent to decompress(in.getData(), 0, in.getLength(), out).
decompress(byte[], int, int, Buffer) - Static method in class de.jarnbjo.jsnappy.SnappyDecompressor
Decompress the data contained in in from offset and length bytes.
DEFAULT_BUFFER_SIZE - Static variable in class de.jarnbjo.jsnappy.SnzOutputStream
 
DEFAULT_EFFORT - Static variable in class de.jarnbjo.jsnappy.SnappyCompressor
Default effort used for compression

E

ensureCapacity(int) - Method in class de.jarnbjo.jsnappy.Buffer
Ensures that the buffer has a capacity to store the number of bytes.

F

FormatViolationException - Exception in de.jarnbjo.jsnappy
Exception thrown by the decompressor if it encounters illegal input data.
FormatViolationException(String) - Constructor for exception de.jarnbjo.jsnappy.FormatViolationException
 
FormatViolationException(String, int) - Constructor for exception de.jarnbjo.jsnappy.FormatViolationException
 

G

getBlockSize() - Method in class de.jarnbjo.jsnappy.SnzInputStream
Returns the block size of the snz stream.
getCompressionEffort() - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Returns the compression effort used by this stream.
getData() - Method in class de.jarnbjo.jsnappy.Buffer
Returns the byte array used as a backing store for this buffer.
getDefaultExecutor() - Static method in class de.jarnbjo.jsnappy.SnzMTInputStream
Returns the default executor or null if no default executor has been created yet.
getLength() - Method in class de.jarnbjo.jsnappy.Buffer
Returns the length of this buffer.
getOffset() - Method in exception de.jarnbjo.jsnappy.FormatViolationException
 

R

read() - Method in class de.jarnbjo.jsnappy.SnzInputStream
Reads a single byte from the uncompressed stream.
read(byte[]) - Method in class de.jarnbjo.jsnappy.SnzInputStream
Fills the byte array with data from the uncompressed stream.
read(byte[], int, int) - Method in class de.jarnbjo.jsnappy.SnzInputStream
Fills the byte array with data from the uncompressed stream starting at the specified offset and no more than length bytes.
read(byte[], int, int) - Method in class de.jarnbjo.jsnappy.SnzMTInputStream
 

S

setCompressionEffort(int) - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Sets the compression effort used by this stream from 1 (fastest, less compression) to 100 (slowest, best compression).
setDefaultExecutor(Executor) - Static method in class de.jarnbjo.jsnappy.SnzMTInputStream
Sets a new default executor.
setLength(int) - Method in class de.jarnbjo.jsnappy.Buffer
Sets the length of this buffer.
SnappyCompressor - Class in de.jarnbjo.jsnappy
This class provide utility methods for compressing data blocks using the Snappy algorithm.
SnappyDecompressor - Class in de.jarnbjo.jsnappy
This class provide utility methods for decompressing data blocks using the Snappy algorithm.
SnzInputStream - Class in de.jarnbjo.jsnappy
This class implements a stream filter for reading compressed data in the SNZ file format.
SnzInputStream(InputStream) - Constructor for class de.jarnbjo.jsnappy.SnzInputStream
Creates a new SnzInputStream, reading from the provided InputStream in.
SnzMTInputStream - Class in de.jarnbjo.jsnappy
Alternative to SnzInputStream with support for multi-threaded decomression.
SnzMTInputStream(InputStream) - Constructor for class de.jarnbjo.jsnappy.SnzMTInputStream
Creates an input stream, which reads from the specified input and uses the default executor.
SnzMTInputStream(InputStream, Executor) - Constructor for class de.jarnbjo.jsnappy.SnzMTInputStream
Creates an input stream, which reads from the specified input and uses the provided executor instead of the default executor.
SnzOutputStream - Class in de.jarnbjo.jsnappy
This class implements a stream filter for writing compressed data in the SNZ file format.
SnzOutputStream(OutputStream) - Constructor for class de.jarnbjo.jsnappy.SnzOutputStream
Creates a new compressing output stream with the default buffer size.
SnzOutputStream(OutputStream, int) - Constructor for class de.jarnbjo.jsnappy.SnzOutputStream
Creates a new compressing output stream with the specified buffer size.

T

toByteArray() - Method in class de.jarnbjo.jsnappy.Buffer
Returns a copy of the buffers internal array in a newly allocated byte array with the buffer's length.

W

write(int) - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Writes the byte to the compressed output stream.
write(byte[]) - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Writes the content of data to the compressed output stream.
write(byte[], int, int) - Method in class de.jarnbjo.jsnappy.SnzOutputStream
Writes length bytes of data to the compressed stream from data, starting at index offset.
B C D E F G R S T W 

Copyright © 2014 AVAST Software. All Rights Reserved.