Skip to content

ByteICollectionExtensions.AddInt16 Method ​

Definition ​

Adds a Int16 to a byte collection.

c#
public static void AddInt16(this ICollection<Byte> bytes, Int16 value, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian);

View source

Parameters ​

NameTypeDescription
bytesICollection<Byte>
valueInt16The Int16 value to add.
endianEndianThe endianness to use.