UnpackerReadBoolean Method |
Reads next
Boolean value from current stream.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [CLSCompliantAttribute(false)]
public virtual bool ReadBoolean(
out bool result
)
<CLSCompliantAttribute(false)>
Public Overridable Function ReadBoolean (
<OutAttribute> ByRef result As Boolean
) As Boolean
public:
[CLSCompliantAttribute(false)]
virtual bool ReadBoolean(
[OutAttribute] bool% result
)
[<CLSCompliantAttribute(false)>]
abstract ReadBoolean :
result : bool byref -> bool
[<CLSCompliantAttribute(false)>]
override ReadBoolean :
result : bool byref -> bool
Parameters
- result
- Type: SystemBoolean
The Boolean 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