docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WriteIntNetworkByteOrder

    WriteIntNetworkByteOrder(int)

    Writes a 4-byte signed integer from the current stream using Big-endian byte order and advances the current position of the stream by four bytes. If the current machine is in little-endian order, the byte order will be swapped.

    Declaration
    public bool WriteIntNetworkByteOrder(int value)
    Parameters
    Type Name Description
    int value

    The 4-byte signed integer to write.

    Returns
    Type Description
    bool

    Whether the write was successful

    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)