Skip to content

IBinaryWriter Interface

Definition

Writes binary data to an underlying destination as byte arrays. Values should be built up as byte arrays using the MrKWatkins.BinaryPrimitives extension methods and written in one go. Implementations may complete the write either synchronously or asynchronously.

public abstract interface IBinaryWriter

Methods

Name Description
WriteAsync(ReadOnlyMemory<Byte>) Writes the specified bytes to the underlying destination.