Skip to content

StreamExtensions.WriteUInt24Async Method ​

Definition ​

Writes a UInt24 to the stream asynchronously.

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

Parameters ​

NameTypeDescription
streamStream
valueUInt24The UInt24 value to write.
endianEndianThe endianness to use.
cancellationTokenCancellationTokenA cancellation token.

Returns ​

ValueTask