docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Truncate

    Truncate(int)

    Truncate the stream by setting Length to the specified value. If Position is greater than the specified value, it will be moved as well.

    Declaration
    public void Truncate(int where = -1)
    Parameters
    Type Name Description
    int where

    The value to truncate to. If -1, the current position will be used.

    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)