PairEncodingBaseTKey, TValueEncode(BinaryStreamBase, TKey, TValue, TKey, TValue) Method

Encodes key-value pairs and writes them to a binary stream.

Definition

Namespace: SnapDB.Snap.Encoding
Assembly: 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
)

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.

See Also