Search Results for

    Show / Hide Table of Contents

    Class BinaryStreamState

    Inheritance
    object
    BinaryStreamState
    Implements
    IEmptiable
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public sealed class BinaryStreamState : IEmptiable, IDisposable

    Properties

    | Edit this page View Source

    Buffer

    Declaration
    public byte[] Buffer { get; }
    Property Value
    Type Description
    byte[]
    | Edit this page View Source

    ContentType

    Declaration
    public MimeType ContentType { get; set; }
    Property Value
    Type Description
    MimeType
    | Edit this page View Source

    ContentTypeInitialized

    Declaration
    public bool ContentTypeInitialized { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsEmpty

    Gets whether this object is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInitialized

    Declaration
    public bool IsInitialized { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Append(ReadOnlySpan<byte>)

    Declaration
    public void Append(ReadOnlySpan<byte> bytes)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> bytes
    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page View Source

    Initialize(int, bool)

    Declaration
    public void Initialize(int initialCapacityBytes = 8192, bool useArrayPool = true)
    Parameters
    Type Name Description
    int initialCapacityBytes
    bool useArrayPool

    Implements

    IEmptiable
    IDisposable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.TryDispose(IDisposable)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation