VUser WriteToByteArray Method sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
Writes VUser object bytes to byte array

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

Public Function WriteToByteArray ( _
	buff As Byte(), _
	Optional startIndex As Integer = 0 _
) As Integer

Parameters

buff
Type:  System Byte 
Buffer to store VUser object to
startIndex (Optional)
Type: System Int32
Starting index from which to start writing

Return Value

Number of bytes written
See Also