docs.unity.cn
    Show / Hide Table of Contents

    Method ReadInt

    ReadInt()

    Reads an int and advances the current read position by the number of bytes in an int.

    Declaration
    public int ReadInt()
    Returns
    Type Description
    Int32

    The read data.

    Exceptions
    Type Condition
    ArgumentException

    Thrown if attempting read beyond the end of the memory block.

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