PairEncodingBaseTKey, TValueDecode(Byte*, TKey, TValue, TKey, TValue, Boolean) Method
Decodes data from a byte pointer, 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 virtual int Decode(
byte* stream,
TKey prevKey,
TValue prevValue,
TKey key,
TValue value,
out bool isEndOfStream
)
Visual Basic does not support APIs that consume or return unsafe types.
public:
virtual int Decode(
unsigned char* stream,
TKey prevKey,
TValue prevValue,
TKey key,
TValue value,
[OutAttribute] bool% isEndOfStream
)
JavaScript does not support APIs that consume or return unsafe types.
- stream Byte*
- The byte pointer 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.
Int32The position of the byte pointer after decoding.