IndividualEncodingBaseTDecode(Byte*, T, T, Boolean) Method
Decodes value from the specified memory stream, returning the decoded data length.
Namespace: SnapDB.Snap.EncodingAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual int Decode(
byte* stream,
T prevValue,
T value,
out bool isEndOfStream
)
Visual Basic does not support APIs that consume or return unsafe types.
public:
virtual int Decode(
unsigned char* stream,
T prevValue,
T value,
[OutAttribute] bool% isEndOfStream
)
JavaScript does not support APIs that consume or return unsafe types.
- stream Byte*
- A pointer to the memory stream.
- prevValue T
- The previous value used for decoding reference, if required by UsesPreviousValue; otherwise, null.
- value T
- The decoded value.
- isEndOfStream Boolean
- Indicates whether the end of the stream has been reached by returning true. If there is not end-of-stream symbol, always returns false.
Int32The number of bytes necessary to decode the next key-value pair.