Class BinaryStreamState
Inheritance
BinaryStreamState
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
|
Edit this page
View Source
ContentType
Declaration
public MimeType ContentType { get; set; }
Property Value
|
Edit this page
View Source
ContentTypeInitialized
Declaration
public bool ContentTypeInitialized { get; }
Property Value
|
Edit this page
View Source
IsEmpty
Gets whether this object is empty.
Declaration
public bool IsEmpty { get; }
Property Value
|
Edit this page
View Source
IsInitialized
Declaration
public bool IsInitialized { get; }
Property Value
|
Edit this page
View Source
Length
Declaration
public int Length { get; }
Property Value
Methods
|
Edit this page
View Source
Append(ReadOnlySpan<byte>)
Declaration
public void Append(ReadOnlySpan<byte> bytes)
Parameters
|
Edit this page
View Source
Dispose()
Declaration
|
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
Extension Methods