Struct InboundRecvBuffer
Buffer passed to the Receive
method of a pipeline stage. This type is only useful if
implementing a custom INetworkPipelineStage.
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public struct InboundRecvBuffer
Fields
buffer
Declaration
public byte* buffer
Field Value
Type | Description |
---|---|
byte* |
bufferLength
Declaration
public int bufferLength
Field Value
Type | Description |
---|---|
int |
Methods
Slice(int)
Declaration
public InboundRecvBuffer Slice(int offset)
Parameters
Type | Name | Description |
---|---|---|
int | offset |
Returns
Type | Description |
---|---|
InboundRecvBuffer |