docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Create

    Create(byte*, int)

    Initializes a new instance of the DataStreamWriter struct with externally owned memory

    Declaration
    public static DataStreamWriter Create(byte* data, int length)
    Parameters
    Type Name Description
    byte* data

    Pointer to the data

    int length

    Length of the data

    Returns
    Type Description
    DataStreamWriter

    A new instance of the DataStreamWriter

    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)