|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Wraps a IBufferWriter<T> and queues data writen to it. Requires disposal to ensure flushing. More...
Public Member Functions | |
| AsyncDiagnosticChannelWriter (IBufferWriter< byte > writer) | |
| Initializes a new instance. | |
| void | Write (IMemoryOwner< byte > owner, int length) |
| Enqueues the given memory to be written. Ownership is transfered. | |
| void | Dispose () |
| Disposes of the instance. | |
Public Member Functions inherited from IKVM.Tools.Core.Diagnostics.IDiagnosticChannelWriter | |
Wraps a IBufferWriter<T> and queues data writen to it. Requires disposal to ensure flushing.
Definition at line 13 of file AsyncDiagnosticChannelWriter.cs.
| IKVM.Tools.Core.Diagnostics.AsyncDiagnosticChannelWriter.AsyncDiagnosticChannelWriter | ( | IBufferWriter< byte > | writer | ) |
Initializes a new instance.
| writer |
| ArgumentNullException |
Definition at line 34 of file AsyncDiagnosticChannelWriter.cs.
| void IKVM.Tools.Core.Diagnostics.AsyncDiagnosticChannelWriter.Dispose | ( | ) |
Disposes of the instance.
Definition at line 102 of file AsyncDiagnosticChannelWriter.cs.
| void IKVM.Tools.Core.Diagnostics.AsyncDiagnosticChannelWriter.Write | ( | IMemoryOwner< byte > | owner, |
| int | length ) |
Enqueues the given memory to be written. Ownership is transfered.
| owner |
Implements IKVM.Tools.Core.Diagnostics.IDiagnosticChannelWriter.
Definition at line 43 of file AsyncDiagnosticChannelWriter.cs.