Click or drag to resize
UnpackerReadSByte Method
Reads next SByte value from current stream.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[CLSCompliantAttribute(false)]
public virtual bool ReadSByte(
	out sbyte result
)

Parameters

result
Type: SystemSByte
The SByte value read from current stream to be stored when operation is succeeded.

Return Value

Type: Boolean
true if expected value was read from stream; false if no more data on the stream. Note that this method throws exception for unexpected state. See exceptions section.
Exceptions
ExceptionCondition
InvalidMessagePackStreamException Cannot read a value because the underlying stream unexpectedly ends.
MessageTypeException A value read from data source is not compatible for the SByte type.
See Also