UInt16.IBinaryInteger<UInt16>.GetByteCount Method

Definition

Gets the number of bytes that will be written as part of TryWriteLittleEndian(Span<Byte>, Int32).

C#
int IBinaryInteger<ushort>.GetByteCount();

Returns

The number of bytes that will be written as part of TryWriteLittleEndian(Span<Byte>, Int32).

Implements

Applies to

Product Versions
.NET 7, 8, 9