C# Class CqlSharp.Network.nSnappy.Compressor

Show file Open project: reuzel/CqlSharp

Public Methods

Method Description
Compress ( Stream input, Stream output ) : int

Private Methods

Method Description
CompressFragment ( byte source, int length, HashTable hashTable, byte scratchOutput ) : int
EmitCopy ( Pointer op, int offset, int len ) : Pointer
EmitCopyLessThan64 ( Pointer op, int offset, int len ) : Pointer
EmitLiteral ( Pointer dest, Pointer literal, int length, bool allowFastPath ) : Pointer
FindLSBSetNonZero ( uint number ) : int
FindMatchLength ( Pointer p1, Pointer p2, int length ) : int
Log2Floor ( uint n ) : int
MaxCompressedOutput ( int size ) : int

Method Details

Compress() public static method

public static Compress ( Stream input, Stream output ) : int
input Stream
output Stream
return int