Enum MessagePackPrimitives.DecodeResult
- Namespace
- Nerdbank.MessagePack
- Assembly
- Nerdbank.MessagePack.dll
Enumerates the possible outcomes of a read operation.
public enum MessagePackPrimitives.DecodeResult
Fields
EmptyBuffer = 2
The buffer is empty and no token could be read.
InsufficientBuffer = 3
The token is of the expected type, but the buffer does not include all the bytes needed to read the value.
Success = 0
The token was successfully read from the buffer.
TokenMismatch = 1
The token read from the buffer did not match the expected token.