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);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | ICollection<Byte> | |
value | Int16 | The Int16 value to add. |
endian | Endian | The endianness to use. |