Class MemoryBinaryWriter | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class MemoryBinaryWriter

    Inheritance
    System.Object
    MemoryBinaryWriter
    Namespace: Unity.Entities.Serialization
    Syntax
    public class MemoryBinaryWriter : BinaryWriter, IDisposable

    Properties

    Data

    Declaration
    public byte *Data { get; }
    Property Value
    Type Description
    System.Byte*

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Dispose()

    Declaration
    public void Dispose()

    WriteBytes(Void*, Int32)

    Declaration
    public void WriteBytes(void *data, int bytes)
    Parameters
    Type Name Description
    System.Void* data
    System.Int32 bytes
    Implements
    BinaryWriter.WriteBytes(Void*, Int32)

    Extension Methods

    BlobAssetSerializeExtensions.Write<T>(BinaryWriter, BlobAssetReference<T>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023