docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ChunkedStream

    ChunkedStream(int, float, Func<AsyncRequest<object>, Result>)

    Constructs a stream object.

    Declaration
    public ChunkedStream(int bufferSize = 8192, float maxElapsedSeconds = 5, Func<AsyncRequest<object>, AsyncRequest.Result> functor = null)
    Parameters
    Type Name Description
    int bufferSize

    Size of the buffer in bytes.

    float maxElapsedSeconds

    Amount of time after which the buffer will automatically flush.

    Func<AsyncRequest<object>, AsyncRequest.Result> functor

    Callback function to pass buffered data to.

    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)