Skip to content

ByteICollectionExtensions.AddUInt16 Method

Definition

Adds a UInt16 to a byte collection.

public static void AddUInt16(this ICollection<Byte> bytes, ushort value, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian);

View source

Parameters

Name Type Description
bytes ICollection<Byte>
value UInt16 The UInt16 value to add.
endian Endian The endianness to use.