IndividualEncodingBaseTDecode(BinaryStreamBase, T, T, Boolean) Method
Decodes value from the specified binary stream.
Namespace: SnapDB.Snap.EncodingAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract void Decode(
BinaryStreamBase stream,
T prevValue,
T value,
out bool isEndOfStream
)
Public MustOverride Sub Decode (
stream As BinaryStreamBase,
prevValue As T,
value As T,
<OutAttribute> ByRef isEndOfStream As Boolean
)
public:
virtual void Decode(
BinaryStreamBase^ stream,
T prevValue,
T value,
[OutAttribute] bool% isEndOfStream
) abstract
function Decode(stream, prevValue, value, isEndOfStream);
- stream BinaryStreamBase
- The binary stream to read from.
- 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 no end-of-stream symbol, always returns false.
The number of bytes necessary to decode the next key-value pair.