sP2P NAT Traversal and peer-to-peer networking API
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Write peer object serialisation to byte array buffer
Namespace: sP2PLibAssembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
Parameters
- buffer
- Type: System Byte
Buffer to write to. If null it will be initialised with length to store peer serialisation
- startIndex (Optional)
- Type: System Int32
Starting index from which to begin writing
- serializeCustomProperties (Optional)
- Type: System Boolean
Indicates whether custom properties serialisation should be done
Return Value
Number or bytes writtenSee Also