API reference
API reference
Select your platform
No SDKs available
No versions available

Packet Class

Extends IDisposable

Constructors

Packet ( packetHandle )
Signature
Oculus.Platform.Packet.Packet(IntPtr packetHandle)
Parameters
packetHandle: IntPtr

Properties

SenderID : UInt64
[Get]
Signature
UInt64 Oculus.Platform.Packet.SenderID
Size : ulong
[Get]
Signature
ulong Oculus.Platform.Packet.Size

Methods

Dispose ()
Signature
void Oculus.Platform.Packet.Dispose()
Returns
void
ReadBytes ( destination )
Copies all the bytes in the payload into byte[] destination. ex: Package package ... byte[] destination = new byte[package.Size]; package.ReadBytes(destination);
Signature
ulong Oculus.Platform.Packet.ReadBytes(byte[] destination)
Parameters
destination: byte []
Returns
ulong