A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSnappyInputStream - Class in org.iq80.snappy
-
A common base class for frame based snappy input streams.
- AbstractSnappyInputStream(InputStream, int, int, boolean, byte[]) - Constructor for class org.iq80.snappy.AbstractSnappyInputStream
-
Creates a Snappy input stream to read data from the specified underlying input stream.
- AbstractSnappyInputStream.FrameAction - Enum in org.iq80.snappy
- AbstractSnappyInputStream.FrameData - Class in org.iq80.snappy
- AbstractSnappyInputStream.FrameMetaData - Class in org.iq80.snappy
- AbstractSnappyOutputStream - Class in org.iq80.snappy
-
This is a base class supporting both the
SnappyOutputStream
andSnappyFramedOutputStream
. - AbstractSnappyOutputStream(OutputStream, int, double) - Constructor for class org.iq80.snappy.AbstractSnappyOutputStream
- allocateBuffersBasedOnSize(int) - Method in class org.iq80.snappy.AbstractSnappyInputStream
- allocDecodeBuffer(int) - Method in class org.iq80.snappy.BufferRecycler
- allocEncodingBuffer(int) - Method in class org.iq80.snappy.BufferRecycler
- allocEncodingHash(int) - Method in class org.iq80.snappy.BufferRecycler
- allocInputBuffer(int) - Method in class org.iq80.snappy.BufferRecycler
- allocOutputBuffer(int) - Method in class org.iq80.snappy.BufferRecycler
- available() - Method in class org.iq80.snappy.AbstractSnappyInputStream
B
- badPositionIndex(int, int, String) - Static method in class org.iq80.snappy.SnappyInternalUtils
- badPositionIndexes(int, int, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- BLOCK_LOG - Static variable in class org.iq80.snappy.SnappyCompressor
- BLOCK_SIZE - Static variable in class org.iq80.snappy.SnappyCompressor
- blockSize - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- buffer - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
Buffer is a reference to the real buffer of uncompressed data for the current block: uncompressed if the block is compressed, or input if it is not.
- buffer - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- BufferRecycler - Class in org.iq80.snappy
-
Simple helper class to encapsulate details of basic buffer recycling scheme, which helps a lot (as per profiling) for smaller encoding cases.
- BufferRecycler() - Constructor for class org.iq80.snappy.BufferRecycler
- BYTE_ARRAY_OFFSET - Static variable in class org.iq80.snappy.UnsafeMemory
- bytesBetweenHashLookups(int) - Static method in class org.iq80.snappy.SnappyCompressor
C
- calculateChecksum - Variable in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- calculateCRC32C(byte[], int, int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
-
Calculates a CRC32C checksum over the data.
- calculateCRC32C(byte[], int, int) - Method in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- checkArgument(boolean, String, Object...) - Static method in class org.iq80.snappy.SnappyInternalUtils
- checkNotNull(T, String, Object...) - Static method in class org.iq80.snappy.SnappyInternalUtils
- checkPositionIndexes(int, int, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- checkSum - Variable in class org.iq80.snappy.AbstractSnappyInputStream.FrameData
- clear() - Method in class org.iq80.snappy.BufferRecycler
- close() - Method in class org.iq80.snappy.AbstractSnappyInputStream
- close() - Method in class org.iq80.snappy.AbstractSnappyOutputStream
- closed - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
Indicates if this instance has been closed.
- closed - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- compress() - Static method in class org.iq80.snappy.Main
- compress(byte[]) - Static method in class org.iq80.snappy.Snappy
- compress(byte[], int, int, byte[], int) - Static method in class org.iq80.snappy.Snappy
- compress(byte[], int, int, byte[], int) - Static method in class org.iq80.snappy.SnappyCompressor
- COMPRESSED_DATA_FLAG - Static variable in class org.iq80.snappy.SnappyFramed
- compressFragment(byte[], int, int, byte[], int, short[]) - Static method in class org.iq80.snappy.SnappyCompressor
- copy(InputStream, OutputStream) - Static method in class org.iq80.snappy.Main
- COPY_1_BYTE_OFFSET - Static variable in class org.iq80.snappy.Snappy
- COPY_2_BYTE_OFFSET - Static variable in class org.iq80.snappy.Snappy
- COPY_4_BYTE_OFFSET - Static variable in class org.iq80.snappy.Snappy
- copyLiteral(byte[], int, byte[], int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
- copyLong(byte[], int, byte[], int) - Method in interface org.iq80.snappy.Memory
- copyLong(byte[], int, byte[], int) - Method in class org.iq80.snappy.SlowMemory
- copyLong(byte[], int, byte[], int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- copyLong(byte[], int, byte[], int) - Method in class org.iq80.snappy.UnsafeMemory
- copyMemory(byte[], int, byte[], int, int) - Method in interface org.iq80.snappy.Memory
- copyMemory(byte[], int, byte[], int, int) - Method in class org.iq80.snappy.SlowMemory
- copyMemory(byte[], int, byte[], int, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- copyMemory(byte[], int, byte[], int, int) - Method in class org.iq80.snappy.UnsafeMemory
- copyToBuffer(byte[], int, int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
- CorruptionException - Exception in org.iq80.snappy
- CorruptionException() - Constructor for exception org.iq80.snappy.CorruptionException
- CorruptionException(String) - Constructor for exception org.iq80.snappy.CorruptionException
- CorruptionException(String, Throwable) - Constructor for exception org.iq80.snappy.CorruptionException
- CorruptionException(Throwable) - Constructor for exception org.iq80.snappy.CorruptionException
- crc - Variable in class org.iq80.snappy.Crc32C
-
the current CRC value, bit-flipped
- Crc32C - Class in org.iq80.snappy
-
A pure-java implementation of the CRC32 checksum that uses the CRC32-C polynomial, the same polynomial used by iSCSI and implemented on many Intel chipsets supporting SSE4.2.
- Crc32C() - Constructor for class org.iq80.snappy.Crc32C
-
Create a new PureJavaCrc32 object.
D
- decodingBuffer - Variable in class org.iq80.snappy.BufferRecycler
- decompressAllTags(byte[], int, int, byte[], int) - Static method in class org.iq80.snappy.SnappyDecompressor
- decompressTagSlow(byte[], int, byte[], int, int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
-
This is a second copy of the inner loop of decompressTags used when near the end of the input.
- DEFAULT_BLOCK_SIZE - Static variable in class org.iq80.snappy.SnappyFramedOutputStream
- DEFAULT_MIN_COMPRESSION_RATIO - Static variable in class org.iq80.snappy.SnappyFramedOutputStream
- determineSnappyInputStream(InputStream, boolean) - Static method in class org.iq80.snappy.Snappy
-
Uses the stream marker bytes to determine if the
SnappyFramedInputStream
orSnappyInputStream
should be used to decompress the content of source.
E
- emitCopies(byte[], int, int, int, byte[], int, short[], int, int) - Static method in class org.iq80.snappy.SnappyCompressor
- emitCopy(byte[], int, int, int) - Static method in class org.iq80.snappy.SnappyCompressor
- emitCopyLessThan64(byte[], int, int, int) - Static method in class org.iq80.snappy.SnappyCompressor
- emitLiteral(byte[], int, byte[], int, int, boolean) - Static method in class org.iq80.snappy.SnappyCompressor
- encodingBuffer - Variable in class org.iq80.snappy.BufferRecycler
- encodingHash - Variable in class org.iq80.snappy.BufferRecycler
- ensureBuffer() - Method in class org.iq80.snappy.AbstractSnappyInputStream
- eof - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
Indicates if we have reached the EOF on
AbstractSnappyInputStream.in
. - equals(byte[], int, byte[], int, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
F
- fastAccessSupported() - Method in interface org.iq80.snappy.Memory
- fastAccessSupported() - Method in class org.iq80.snappy.SlowMemory
- fastAccessSupported() - Method in class org.iq80.snappy.UnsafeMemory
- findCandidate(byte[], int, int, int, int, short[], int) - Static method in class org.iq80.snappy.SnappyCompressor
- findMatchLength(byte[], int, byte[], int, int) - Static method in class org.iq80.snappy.SnappyCompressor
- flush() - Method in class org.iq80.snappy.AbstractSnappyOutputStream
- flushBuffer() - Method in class org.iq80.snappy.AbstractSnappyOutputStream
-
Compresses and writes out any buffered data.
- frameAction - Variable in class org.iq80.snappy.AbstractSnappyInputStream.FrameMetaData
- FrameAction() - Constructor for enum org.iq80.snappy.AbstractSnappyInputStream.FrameAction
- FrameData(int, int) - Constructor for class org.iq80.snappy.AbstractSnappyInputStream.FrameData
- frameHeader - Variable in class org.iq80.snappy.AbstractSnappyInputStream
- FrameMetaData(AbstractSnappyInputStream.FrameAction, int) - Constructor for class org.iq80.snappy.AbstractSnappyInputStream.FrameMetaData
G
- getFrameData(byte[], byte[], int) - Method in class org.iq80.snappy.AbstractSnappyInputStream
-
Take the frame header and the content of the frame to describe metadata about the content.
- getFrameData(byte[], byte[], int) - Method in class org.iq80.snappy.SnappyFramedInputStream
- getFrameData(byte[], byte[], int) - Method in class org.iq80.snappy.SnappyInputStream
-
Deprecated.
- getFrameMetaData(byte[]) - Method in class org.iq80.snappy.AbstractSnappyInputStream
-
Use the content of the frameHeader to describe what type of frame we have and the action to take.
- getFrameMetaData(byte[]) - Method in class org.iq80.snappy.SnappyFramedInputStream
- getFrameMetaData(byte[]) - Method in class org.iq80.snappy.SnappyInputStream
-
Deprecated.
- getHashTableSize(int) - Static method in class org.iq80.snappy.SnappyCompressor
- getIntValue() - Method in class org.iq80.snappy.Crc32C
- getMaskedValue() - Method in class org.iq80.snappy.Crc32C
- getUncompressedLength(byte[], int) - Static method in class org.iq80.snappy.Snappy
- getUncompressedLength(byte[], int) - Static method in class org.iq80.snappy.SnappyDecompressor
- getValue() - Method in class org.iq80.snappy.Crc32C
H
- HAS_UNSAFE - Static variable in class org.iq80.snappy.SnappyInternalUtils
- hashBytes(int, int) - Static method in class org.iq80.snappy.SnappyCompressor
- HEADER_BYTES - Static variable in class org.iq80.snappy.SnappyFramed
-
The header consists of the stream identifier flag, 3 bytes indicating a length of 6, and "sNaPpY" in ASCII.
- HEADER_LENGTH - Static variable in class org.iq80.snappy.SnappyInputStream
-
Deprecated.
I
- in - Variable in class org.iq80.snappy.AbstractSnappyInputStream
- incrementalCopy(byte[], int, byte[], int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
-
Copy "len" bytes from "src" to "op", one byte at a time.
- incrementalCopyFastPath(byte[], int, int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
- input - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
A single frame read from the underlying
InputStream
. - INPUT_MARGIN_BYTES - Static variable in class org.iq80.snappy.SnappyCompressor
- inputBuffer - Variable in class org.iq80.snappy.BufferRecycler
- instance() - Static method in class org.iq80.snappy.BufferRecycler
-
Accessor to get thread-local recycler instance
L
- length - Variable in class org.iq80.snappy.AbstractSnappyInputStream.FrameMetaData
- LITERAL - Static variable in class org.iq80.snappy.Snappy
- loadByte(byte[], int) - Method in interface org.iq80.snappy.Memory
- loadByte(byte[], int) - Method in class org.iq80.snappy.SlowMemory
- loadByte(byte[], int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- loadByte(byte[], int) - Method in class org.iq80.snappy.UnsafeMemory
- loadInt(byte[], int) - Method in interface org.iq80.snappy.Memory
- loadInt(byte[], int) - Method in class org.iq80.snappy.SlowMemory
- loadInt(byte[], int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- loadInt(byte[], int) - Method in class org.iq80.snappy.UnsafeMemory
- loadLong(byte[], int) - Method in interface org.iq80.snappy.Memory
- loadLong(byte[], int) - Method in class org.iq80.snappy.SlowMemory
- loadLong(byte[], int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- loadLong(byte[], int) - Method in class org.iq80.snappy.UnsafeMemory
- log2Floor(int) - Static method in class org.iq80.snappy.SnappyCompressor
- lookupShort(short[], int) - Method in interface org.iq80.snappy.Memory
- lookupShort(short[], int) - Method in class org.iq80.snappy.SlowMemory
- lookupShort(short[], int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- lookupShort(short[], int) - Method in class org.iq80.snappy.UnsafeMemory
M
- main(String[]) - Static method in class org.iq80.snappy.Main
- Main - Class in org.iq80.snappy
- Main() - Constructor for class org.iq80.snappy.Main
- mask(int) - Static method in class org.iq80.snappy.Crc32C
-
Return a masked representation of crc.
- MASK_DELTA - Static variable in class org.iq80.snappy.Crc32C
- maskedCrc32c(byte[]) - Static method in class org.iq80.snappy.Crc32C
- maskedCrc32c(byte[], int, int) - Static method in class org.iq80.snappy.Crc32C
- MAX_BLOCK_SIZE - Static variable in class org.iq80.snappy.SnappyFramedOutputStream
-
We place an additional restriction that the uncompressed data in a chunk must be no longer than 65536 bytes.
- MAX_BLOCK_SIZE - Static variable in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- MAX_HASH_TABLE_BITS - Static variable in class org.iq80.snappy.SnappyCompressor
- MAX_HASH_TABLE_SIZE - Static variable in class org.iq80.snappy.SnappyCompressor
- MAX_HEADER_LENGTH - Static variable in class org.iq80.snappy.Snappy
- MAX_INCREMENT_COPY_OVERFLOW - Static variable in class org.iq80.snappy.SnappyDecompressor
- maxCompressedLength(int) - Static method in class org.iq80.snappy.Snappy
- maxCompressedLength(int) - Static method in class org.iq80.snappy.SnappyCompressor
- memory - Static variable in class org.iq80.snappy.SnappyInternalUtils
- Memory - Interface in org.iq80.snappy
- MIN_COMPRESSION_RATIO - Static variable in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.Write out the uncompressed content if the compression ratio (compressed length / raw length) exceeds this value.
- MIN_ENCODING_BUFFER - Static variable in class org.iq80.snappy.BufferRecycler
- MIN_OUTPUT_BUFFER - Static variable in class org.iq80.snappy.BufferRecycler
- minCompressionRatio - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
N
- NATIVE_LITTLE_ENDIAN - Static variable in class org.iq80.snappy.SnappyCompressor
- newChecksumFreeBenchmarkOutputStream(OutputStream) - Static method in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.Creates a Snappy output stream with block checksums disabled.
O
- offset - Variable in class org.iq80.snappy.AbstractSnappyInputStream.FrameData
- opLookupTable - Static variable in class org.iq80.snappy.SnappyDecompressor
- org.iq80.snappy - package org.iq80.snappy
- out - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- outputBuffer - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- outputBuffer - Variable in class org.iq80.snappy.BufferRecycler
P
- position - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
The next position to read from
AbstractSnappyInputStream.buffer
. - position - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
R
- RAW - org.iq80.snappy.AbstractSnappyInputStream.FrameAction
- read() - Method in class org.iq80.snappy.AbstractSnappyInputStream
- read(byte[], int, int) - Method in class org.iq80.snappy.AbstractSnappyInputStream
- readBlockHeader() - Method in class org.iq80.snappy.AbstractSnappyInputStream
- readBytes(InputStream, byte[], int, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
-
Reads length bytes from source into dest starting at offset.
- readTrailer(byte[], int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
- readUncompressedLength(byte[], int) - Static method in class org.iq80.snappy.SnappyDecompressor
-
Reads the variable length integer encoded a the specified offset, and returns this length with the number of bytes read.
- recycler - Variable in class org.iq80.snappy.AbstractSnappyInputStream
- recycler - Variable in class org.iq80.snappy.AbstractSnappyOutputStream
- recyclerRef - Static variable in class org.iq80.snappy.BufferRecycler
-
This
ThreadLocal
contains aSoftReference
to aBufferRecycler
used to provide a low-cost buffer recycling for buffers we need for encoding, decoding. - releaseDecodeBuffer(byte[]) - Method in class org.iq80.snappy.BufferRecycler
- releaseEncodeBuffer(byte[]) - Method in class org.iq80.snappy.BufferRecycler
- releaseEncodingHash(short[]) - Method in class org.iq80.snappy.BufferRecycler
- releaseInputBuffer(byte[]) - Method in class org.iq80.snappy.BufferRecycler
- releaseOutputBuffer(byte[]) - Method in class org.iq80.snappy.BufferRecycler
- reset() - Method in class org.iq80.snappy.Crc32C
S
- SHORT_ARRAY_OFFSET - Static variable in class org.iq80.snappy.UnsafeMemory
- SHORT_ARRAY_STRIDE - Static variable in class org.iq80.snappy.UnsafeMemory
- skip(InputStream, int) - Static method in class org.iq80.snappy.SnappyInternalUtils
- SKIP - org.iq80.snappy.AbstractSnappyInputStream.FrameAction
- SlowMemory - Class in org.iq80.snappy
- SlowMemory() - Constructor for class org.iq80.snappy.SlowMemory
- Snappy - Class in org.iq80.snappy
- Snappy() - Constructor for class org.iq80.snappy.Snappy
- SnappyCompressor - Class in org.iq80.snappy
- SnappyCompressor() - Constructor for class org.iq80.snappy.SnappyCompressor
- SnappyDecompressor - Class in org.iq80.snappy
- SnappyDecompressor() - Constructor for class org.iq80.snappy.SnappyDecompressor
- SnappyFramed - Class in org.iq80.snappy
-
Constants for implementing x-snappy-framed.
- SnappyFramed() - Constructor for class org.iq80.snappy.SnappyFramed
- SnappyFramedInputStream - Class in org.iq80.snappy
-
Implements the x-snappy-framed as an
InputStream
. - SnappyFramedInputStream(InputStream, boolean) - Constructor for class org.iq80.snappy.SnappyFramedInputStream
- SnappyFramedOutputStream - Class in org.iq80.snappy
-
Implements the x-snappy-framed as an
OutputStream
. - SnappyFramedOutputStream(OutputStream) - Constructor for class org.iq80.snappy.SnappyFramedOutputStream
- SnappyFramedOutputStream(OutputStream, int, double) - Constructor for class org.iq80.snappy.SnappyFramedOutputStream
- SnappyInputStream - Class in org.iq80.snappy
-
Deprecated.Prefer the use of
SnappyFramedInputStream
which implements the standardx-snappy-framed
specification. - SnappyInputStream(InputStream) - Constructor for class org.iq80.snappy.SnappyInputStream
-
Deprecated.Creates a Snappy input stream to read data from the specified underlying input stream.
- SnappyInputStream(InputStream, boolean) - Constructor for class org.iq80.snappy.SnappyInputStream
-
Deprecated.Creates a Snappy input stream to read data from the specified underlying input stream.
- SnappyInternalUtils - Class in org.iq80.snappy
- SnappyInternalUtils() - Constructor for class org.iq80.snappy.SnappyInternalUtils
- SnappyOutputStream - Class in org.iq80.snappy
-
Deprecated.Use
SnappyFramedOutputStream
which implements the standardx-snappy-framed
specification. - SnappyOutputStream(OutputStream) - Constructor for class org.iq80.snappy.SnappyOutputStream
-
Deprecated.Creates a Snappy output stream to write data to the specified underlying output stream.
- SnappyOutputStream(OutputStream, boolean) - Constructor for class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- STREAM_HEADER - Static variable in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- STREAM_IDENTIFIER_FLAG - Static variable in class org.iq80.snappy.SnappyFramed
T
- T8_0 - Static variable in class org.iq80.snappy.Crc32C
- T8_1 - Static variable in class org.iq80.snappy.Crc32C
- T8_2 - Static variable in class org.iq80.snappy.Crc32C
- T8_3 - Static variable in class org.iq80.snappy.Crc32C
- T8_4 - Static variable in class org.iq80.snappy.Crc32C
- T8_5 - Static variable in class org.iq80.snappy.Crc32C
- T8_6 - Static variable in class org.iq80.snappy.Crc32C
- T8_7 - Static variable in class org.iq80.snappy.Crc32C
U
- uncompress() - Static method in class org.iq80.snappy.Main
- uncompress(byte[], int, int) - Static method in class org.iq80.snappy.Snappy
- uncompress(byte[], int, int) - Static method in class org.iq80.snappy.SnappyDecompressor
- uncompress(byte[], int, int, byte[], int) - Static method in class org.iq80.snappy.Snappy
- uncompress(byte[], int, int, byte[], int) - Static method in class org.iq80.snappy.SnappyDecompressor
- UNCOMPRESS - org.iq80.snappy.AbstractSnappyInputStream.FrameAction
- uncompressed - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
The decompressed data from
AbstractSnappyInputStream.input
. - UNCOMPRESSED_DATA_FLAG - Static variable in class org.iq80.snappy.SnappyFramed
- unmask(int) - Static method in class org.iq80.snappy.Crc32C
-
Return the crc whose masked representation is masked_crc.
- unsafe - Static variable in class org.iq80.snappy.UnsafeMemory
- UnsafeMemory - Class in org.iq80.snappy
- UnsafeMemory() - Constructor for class org.iq80.snappy.UnsafeMemory
- update(byte[], int, int) - Method in class org.iq80.snappy.Crc32C
- update(int) - Method in class org.iq80.snappy.Crc32C
- usage() - Static method in class org.iq80.snappy.Main
V
- valid - Variable in class org.iq80.snappy.AbstractSnappyInputStream
-
The position in
AbstractSnappyInputStream.input
to read to. - valueOf(String) - Static method in enum org.iq80.snappy.AbstractSnappyInputStream.FrameAction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.iq80.snappy.AbstractSnappyInputStream.FrameAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyChecksums - Variable in class org.iq80.snappy.AbstractSnappyInputStream
W
- wordmask - Static variable in class org.iq80.snappy.SnappyDecompressor
- write(byte[], int, int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
- write(int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
- writeBlock(OutputStream, byte[], int, int, boolean, int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
-
Write a frame (block) to out.
- writeBlock(OutputStream, byte[], int, int, boolean, int) - Method in class org.iq80.snappy.SnappyFramedOutputStream
-
Each chunk consists first a single byte of chunk identifier, then a three-byte little-endian length of the chunk in bytes (from 0 to 16777215, inclusive), and then the data if any.
- writeBlock(OutputStream, byte[], int, int, boolean, int) - Method in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- writeCompressed(byte[], int, int) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
-
Calculates
the crc, compresses the data, determines if the compression ratio is acceptable and callsAbstractSnappyOutputStream.writeBlock(OutputStream, byte[], int, int, boolean, int)
to actually write the frame. - writeHeader(OutputStream) - Method in class org.iq80.snappy.AbstractSnappyOutputStream
-
Writes the implementation specific header or "marker bytes" to out.
- writeHeader(OutputStream) - Method in class org.iq80.snappy.SnappyFramedOutputStream
- writeHeader(OutputStream) - Method in class org.iq80.snappy.SnappyOutputStream
-
Deprecated.
- writeUncompressedLength(byte[], int, int) - Static method in class org.iq80.snappy.SnappyCompressor
-
Writes the uncompressed length as variable length integer.
All Classes All Packages