docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WritePartialValue

    WritePartialValue<T>(T, int, int)

    Write a partial value. The specified number of bytes is written from the value and the rest is ignored.

    Declaration
    public void WritePartialValue<T>(T value, int bytesToWrite, int offsetBytes = 0) where T : unmanaged
    Parameters
    Type Name Description
    T value

    Value to write

    int bytesToWrite

    Number of bytes

    int offsetBytes

    Offset into the value to begin reading the bytes

    Type Parameters
    Name Description
    T
    Exceptions
    Type Condition
    InvalidOperationException
    OverflowException
    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)