PairEncodingBaseTKey, TValueEncode(BinaryStreamBase, TKey, TValue, TKey, TValue) Method
Encodes key-value pairs and writes them to a binary stream.
Namespace: SnapDB.Snap.EncodingAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract void Encode(
BinaryStreamBase stream,
TKey prevKey,
TValue prevValue,
TKey key,
TValue value
)
Public MustOverride Sub Encode (
stream As BinaryStreamBase,
prevKey As TKey,
prevValue As TValue,
key As TKey,
value As TValue
)
public:
virtual void Encode(
BinaryStreamBase^ stream,
TKey prevKey,
TValue prevValue,
TKey key,
TValue value
) abstract
function Encode(stream, prevKey, prevValue, key, value);
Parameters
- stream BinaryStreamBase
- The binary stream to which to write encoded data.
- prevKey TKey
- The previously encoded key.
- prevValue TValue
- The previously encoded value.
- key TKey
- The key to be encoded and written.
- value TValue
- The value to be encoded and written.