
CodecBodyOutput
- Namespace
- Rowles.LeanCorpus.Codecs.CodecKit
- Assembly
- Rowles.LeanCorpus.dll
Append-only body output that updates the frame checksum as bytes are written.
public sealed class CodecBodyOutput : IBufferWriter<byte>, IDisposable
- Inheritance
-
CodecBodyOutput
- Implements
Position
Advance(int)
Notifies the IBufferWriter<T> that count data items were written to the output Span<T> or Memory<T>.
AsStream(bool)
Creates a sequential stream adapter over this body output.
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetMemory(int)
Returns a Memory<T> to write to that is at least the requested size (specified by sizeHint).
GetSpan(int)
Returns a Span<T> to write to that is at least the requested size (specified by sizeHint).