PairEncodingBaseTKey, TValueContainsEndOfStreamSymbol Property
Gets if the stream supports a symbol that
represents that the end of the stream has been encountered.
Namespace: SnapDB.Snap.EncodingAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract bool ContainsEndOfStreamSymbol { get; }
Public MustOverride ReadOnly Property ContainsEndOfStreamSymbol As Boolean
Get
public:
virtual property bool ContainsEndOfStreamSymbol {
bool get () abstract;
}
function get_ContainsEndOfStreamSymbol();
Property Value
Boolean
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.