docs.unity3d.com
Search Results for

    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
    int

    The read data.

    Exceptions
    Type Condition
    ArgumentException

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

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