Click or drag to resize
UnpackHelpersGetItemsCount Method
Gets the items count as Int32.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static int GetItemsCount(
	Unpacker unpacker
)

Parameters

unpacker
Type: MsgPackUnpacker
The unpacker.

Return Value

Type: Int32
The items count as Int32.
Exceptions
ExceptionCondition
ArgumentNullExceptionunpacker is null.
SerializationExceptionThe items count is greater than MaxValue.
Remarks
The items count of the collection can be between MaxValue and MaxValue, but most collections do not support so big count.
See Also