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.
Namespace: SnapDB.Snap.EncodingAssembly: 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
)
Public MustOverride Sub Decode (
stream As BinaryStreamBase,
prevKey As TKey,
prevValue As TValue,
key As TKey,
value As TValue,
<OutAttribute> ByRef isEndOfStream As Boolean
)
public:
virtual void Decode(
BinaryStreamBase^ stream,
TKey prevKey,
TValue prevValue,
TKey key,
TValue value,
[OutAttribute] bool% isEndOfStream
) abstract
function Decode(stream, prevKey, prevValue, key, value, 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.