Struct NetworkCompressionModel | Unity Transport | 0.3.1-preview.4
docs.unity.cn
    Show / Hide Table of Contents

    Struct NetworkCompressionModel

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NetworkCompressionModel : IDisposable

    Constructors

    NetworkCompressionModel(Allocator)

    Declaration
    public NetworkCompressionModel(Allocator allocator)
    Parameters
    Type Name Description
    Allocator allocator

    Fields

    bucketOffsets

    Declaration
    public NativeArray<uint> bucketOffsets
    Field Value
    Type Description
    NativeArray<UInt32>

    bucketSizes

    Declaration
    public NativeArray<byte> bucketSizes
    Field Value
    Type Description
    NativeArray<Byte>

    decodeTable

    Declaration
    public NativeArray<ushort> decodeTable
    Field Value
    Type Description
    NativeArray<UInt16>

    encodeTable

    Declaration
    public NativeArray<ushort> encodeTable
    Field Value
    Type Description
    NativeArray<UInt16>

    Methods

    CalculateBucket(UInt32)

    Declaration
    public int CalculateBucket(uint value)
    Parameters
    Type Name Description
    UInt32 value
    Returns
    Type Description
    Int32

    Dispose()

    Declaration
    public void Dispose()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX