Search Results for

    Show / Hide Table of Contents

    Class NetworkWriterPool

    Pool of NetworkWriters to avoid allocations.

    Inheritance
    Object
    NetworkWriterPool
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public static class NetworkWriterPool : object

    Methods

    | Improve this Doc View Source

    Get()

    Get a writer from the pool. Creates new one if pool is empty.

    Declaration
    public static NetworkWriterPooled Get()
    Returns
    Type Description
    NetworkWriterPooled
    | Improve this Doc View Source

    GetWriter()

    Declaration
    public static NetworkWriterPooled GetWriter()
    Returns
    Type Description
    NetworkWriterPooled
    | Improve this Doc View Source

    Recycle(NetworkWriterPooled)

    Declaration
    public static void Recycle(NetworkWriterPooled writer)
    Parameters
    Type Name Description
    NetworkWriterPooled writer
    | Improve this Doc View Source

    Return(NetworkWriterPooled)

    Return a writer to the pool.

    Declaration
    public static void Return(NetworkWriterPooled writer)
    Parameters
    Type Name Description
    NetworkWriterPooled writer
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX