PairEncodingBaseTKey, TValueContainsEndOfStreamSymbol Property

Gets if the stream supports a symbol that represents that the end of the stream has been encountered.

Definition

Namespace: SnapDB.Snap.Encoding
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract bool ContainsEndOfStreamSymbol { get; }

Property Value

Boolean

Remarks

An example of a symbol would be the byte code 0xFF. In this case, if the first byte of the word is 0xFF, the encoding has specifically designated this as the end of the stream. Therefore, calls to Decompress will result in an end of stream exception. Failing to reserve a code as the end of stream will mean that streaming points will include its own symbol to represent the end of the stream, taking 1 extra byte per point encoded.

See Also