docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DataStreamReader

    DataStreamReader(NativeArray<byte>)

    Initializes a new instance of the DataStreamReader struct with a NativeArray<byte>.

    Declaration
    public DataStreamReader(NativeArray<byte> array)
    Parameters
    Type Name Description
    NativeArray<byte> array

    The buffer to attach to the DataStreamReader.

    DataStreamReader(byte*, int)

    Initializes a new instance of the DataStreamReader struct with a pointer and length.

    Declaration
    public DataStreamReader(byte* data, int length)
    Parameters
    Type Name Description
    byte* data

    Pointer to the buffer to attach to the DataStreamReader.

    int length

    Length of the buffer to attach to the DataStreamReader.

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