docs.unity.cn
    Show / Hide Table of Contents

    Struct NetworkDataStreamParameter

    The NetworkDataStreamParameter is used to set a fixed data stream size.

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkDataStreamParameter : INetworkParameter
    Remarks

    The DataStreamWriter will grow on demand if the size is set to zero.

    Fields

    size

    Size of the default DataStreamWriter

    Declaration
    public int size
    Field Value
    Type Description
    Int32

    Methods

    Validate()

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean
    Implements
    INetworkParameter.Validate()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use