Reads next
Byte value from current stream.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [CLSCompliantAttribute(false)]
public virtual bool ReadByte(
out byte result
)
<CLSCompliantAttribute(false)>
Public Overridable Function ReadByte (
<OutAttribute> ByRef result As Byte
) As Boolean
public:
[CLSCompliantAttribute(false)]
virtual bool ReadByte(
[OutAttribute] unsigned char% result
)
[<CLSCompliantAttribute(false)>]
abstract ReadByte :
result : byte byref -> bool
[<CLSCompliantAttribute(false)>]
override ReadByte :
result : byte byref -> bool
Parameters
- result
- Type: SystemByte
The Byte value read from current stream to be stored when operation is succeeded.
Return Value
Type:
Booleantrue 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 See Also