Skip to content

StreamExtensions.WriteUInt24Async Method

Definition

Writes a UInt24 to the stream asynchronously.

public static ValueTask WriteUInt24Async(this Stream stream, UInt24 value, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian, CancellationToken cancellationToken = null);

Parameters

Name Type Description
stream Stream
value UInt24 The UInt24 value to write.
endian Endian The endianness to use.
cancellationToken CancellationToken A cancellation token.

Returns

ValueTask