Method | Description | |
---|---|---|
DecodeFromByteBuffer ( ByteBuffer buffer, long minBarForHighestTrackableValue, DeflateStream decompressor = null ) : |
Construct a new histogram by decoding it from a ByteBuffer.
|
|
DecodeFromCompressedByteBuffer ( ByteBuffer buffer, long minBarForHighestTrackableValue ) : |
Construct a new histogram by decoding it from a compressed form in a ByteBuffer.
|
|
EncodeIntoCompressedByteBuffer ( this source, ByteBuffer targetBuffer ) : int |
Encode this histogram in compressed form into a ByteBuffer.
|
|
GetEncodingCookie ( this histogram ) : int |
Gets the encoding cookie for a Histogram.
|
Method | Description | |
---|---|---|
Create ( |
||
GetBestTypeForWordSize ( int wordSizeInBytes ) : |
||
GetCompressedEncodingCookie ( ) : int | ||
GetCookieBase ( int cookie ) : int | ||
GetHeaderSize ( int cookie ) : int | ||
GetWordSizeInBytesFromCookie ( int cookie ) : int | ||
PayLoadSourceBuffer ( ByteBuffer buffer, DeflateStream decompressor, int expectedCapacity, IHeader header ) : ByteBuffer | ||
ReadHeader ( ByteBuffer buffer ) : IHeader |
public static DecodeFromByteBuffer ( ByteBuffer buffer, long minBarForHighestTrackableValue, DeflateStream decompressor = null ) : |
||
buffer | ByteBuffer | The buffer to decode from |
minBarForHighestTrackableValue | long | Force highestTrackableValue to be set at least this high |
decompressor | System.IO.Compression.DeflateStream | The |
return |
public static DecodeFromCompressedByteBuffer ( ByteBuffer buffer, long minBarForHighestTrackableValue ) : |
||
buffer | ByteBuffer | The buffer to decode from |
minBarForHighestTrackableValue | long | Force highestTrackableValue to be set at least this high |
return |
public static EncodeIntoCompressedByteBuffer ( this source, ByteBuffer targetBuffer ) : int | ||
source | this | The histogram to encode |
targetBuffer | ByteBuffer | The buffer to write to |
return | int |
public static GetEncodingCookie ( this histogram ) : int | ||
histogram | this | The histogram to get the cookie for |
return | int |