PackerTryPackUInt16 Method |
Try packs
UInt16 value to current stream strictly.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [CLSCompliantAttribute(false)]
protected bool TryPackUInt16(
ulong value
)
<CLSCompliantAttribute(false)>
Protected Function TryPackUInt16 (
value As ULong
) As Boolean
protected:
[CLSCompliantAttribute(false)]
bool TryPackUInt16(
unsigned long long value
)
[<CLSCompliantAttribute(false)>]
member TryPackUInt16 :
value : uint64 -> bool
Parameters
- value
- Type: SystemUInt64
Maybe UInt16 value.
Return Value
Type:
BooleanIf
value has be packed successfully then true, otherwise false (normally, larger type required).
See Also