Skip to content

ByteICollectionExtensions.AddInt16 Method

Definition

Adds a Int16 to a byte collection.

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

View source

Parameters

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