docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BinaryReaderExtensions

    Provides additional read methods for the BinaryReader.

    Inheritance
    object
    BinaryReaderExtensions
    Namespace: Unity.Entities.Serialization
    Assembly: Unity.Entities.dll
    Syntax
    public static class BinaryReaderExtensions

    Methods

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

    Reads the specified number of elements from a native array.

    ReadByte(BinaryReader)

    Reads a single byte.

    ReadBytes(BinaryReader, NativeArray<byte>, int, int)

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

    ReadInt(BinaryReader)

    Reads a single int.

    ReadULong(BinaryReader)

    Reads a single ulong.

    In This Article
    Back to top
    Copyright © 2024 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)