PairEncodingBaseTKey, TValueDecode(BinaryStreamBase, TKey, TValue, TKey, TValue, Boolean) Method

Decodes data from a binary stream, producing key-value pairs and indicating whether it's the end of the 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,
	TKey prevKey,
	TValue prevValue,
	TKey key,
	TValue value,
	out bool isEndOfStream
)

Parameters

stream  BinaryStreamBase
The binary stream from which to decode data.
prevKey  TKey
The previously decoded key.
prevValue  TValue
The previously decoded value.
key  TKey
The decoded key.
value  TValue
The decoded value.
isEndOfStream  Boolean
A boolean indicating whether the end of the stream has been reached.

See Also