docs.unity.cn
    Show / Hide Table of Contents

    Interface BinaryReader

    An interface that reads primitive types from a binary buffer.

    Namespace: Unity.Entities.Serialization
    Syntax
    public interface BinaryReader : IDisposable

    Properties

    Name Description
    Position

    Gets or sets the current read position of the BinaryReader.

    Methods

    Name Description
    ReadBytes(Void*, Int32)

    Reads the specified number of bytes.

    Extension Methods

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

    See Also

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