Peer GetSerializationLength Method sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
Calculates number of bytes needed in array to store serialisation of peer object

Namespace: sP2PLib
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

Public Function GetSerializationLength ( _
	Optional serializeCustomProperties As Boolean = True _
) As Integer

Parameters

serializeCustomProperties (Optional)
Type: System Boolean
Indicates whether custom properties serialisation should be calculated in

Return Value

number of bytes needed to serialize peer object
See Also