Show / Hide Table of Contents

    Class BufferUtils

    Inheritance
    System.Object
    BufferUtils
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Json.Utilities
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public static class BufferUtils

    Methods

    | Improve this Doc View Source

    EnsureBufferSize(IArrayPool<Char>, Int32, Char[])

    Declaration
    public static char[] EnsureBufferSize(IArrayPool<char> bufferPool, int size, char[] buffer)
    Parameters
    Type Name Description
    IArrayPool<System.Char> bufferPool
    System.Int32 size
    System.Char[] buffer
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    RentBuffer(IArrayPool<Char>, Int32)

    Declaration
    public static char[] RentBuffer(IArrayPool<char> bufferPool, int minSize)
    Parameters
    Type Name Description
    IArrayPool<System.Char> bufferPool
    System.Int32 minSize
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    ReturnBuffer(IArrayPool<Char>, Char[])

    Declaration
    public static void ReturnBuffer(IArrayPool<char> bufferPool, char[] buffer)
    Parameters
    Type Name Description
    IArrayPool<System.Char> bufferPool
    System.Char[] buffer
    • Improve this Doc
    • View Source
    • 0 Comments