IndividualEncodingBaseTDecode(BinaryStreamBase, T, T, Boolean) Method

Decodes value from the specified binary stream.

Definition

Namespace: SnapDB.Snap.Encoding
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract void Decode(
	BinaryStreamBase stream,
	T prevValue,
	T value,
	out bool isEndOfStream
)

Parameters

stream  BinaryStreamBase
The binary stream to read from.
prevValue  T
The previous value used for decoding reference, if required by UsesPreviousValue; otherwise, null.
value  T
The decoded value.
isEndOfStream  Boolean
Indicates whether the end of the stream has been reached by returning true. If there is no end-of-stream symbol, always returns false.

Return Value

The number of bytes necessary to decode the next key-value pair.

See Also