docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InboundSendBuffer

    Buffer passed to the Send method of a pipeline stage. This type is only useful if implementing a custom INetworkPipelineStage.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public struct InboundSendBuffer

    Fields

    buffer

    Pointer to the buffer's data (without pipeline stage header).

    Declaration
    public byte* buffer
    Field Value
    Type Description
    byte*

    bufferLength

    Length of the buffer (without pipeline stage header).

    Declaration
    public int bufferLength
    Field Value
    Type Description
    int

    bufferWithHeaders

    Pointer to the buffer's data (with pipeline stage header).

    Declaration
    public byte* bufferWithHeaders
    Field Value
    Type Description
    byte*

    bufferWithHeadersLength

    Length of the buffer (with pipeline stage header).

    Declaration
    public int bufferWithHeadersLength
    Field Value
    Type Description
    int

    headerPadding

    Length of the pipeline stage header.

    Declaration
    public int headerPadding
    Field Value
    Type Description
    int

    Methods

    SetBufferFromBufferWithHeaders()

    Add enough padding to the buffer for the pipeline stage header.

    Declaration
    public void SetBufferFromBufferWithHeaders()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)