docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface BinaryReader

    An interface that reads primitive types from a binary buffer.

    Namespace: Unity.Entities.Serialization
    Assembly: Unity.Entities.dll
    Syntax
    public interface BinaryReader

    Properties

    Name Description
    Position

    Gets or sets the current read position of the BinaryReader.

    Methods

    Name Description
    ReadBytes(void*, int)

    Reads the specified number of bytes.

    Extension Methods

    BlobAssetSerializeExtensions.Read<T>(BinaryReader)
    BinaryReaderExtensions.ReadArray<T>(BinaryReader, NativeArray<T>, int)
    BinaryReaderExtensions.ReadByte(BinaryReader)
    BinaryReaderExtensions.ReadBytes(BinaryReader, NativeArray<byte>, int, int)
    BinaryReaderExtensions.ReadInt(BinaryReader)
    BinaryReaderExtensions.ReadULong(BinaryReader)

    See Also

    MemoryBinaryReader
    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)