docs.unity.cn
    Show / Hide Table of Contents

    Class BinaryReaderExtensions

    Provides additional read methods for the BinaryReader.

    Inheritance
    Object
    BinaryReaderExtensions
    Namespace: Unity.Entities.Serialization
    Syntax
    public static class BinaryReaderExtensions

    Methods

    Name Description
    ReadArray<T>(BinaryReader, NativeArray<T>, Int32)

    Reads the specified number of elements from a native array.

    ReadByte(BinaryReader)

    Reads a single byte.

    ReadBytes(BinaryReader, NativeArray<Byte>, Int32, Int32)

    Reads the specified number of elements from a native byte array.

    ReadInt(BinaryReader)

    Reads a single int.

    ReadULong(BinaryReader)

    Reads a single ulong.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023