Skip to content

StreamExtensions.WriteInt16 Method ​

Definition ​

Writes a Int16 to the stream.

c#
public static void WriteInt16(this Stream stream, Int16 value, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian);

View source

Parameters ​

NameTypeDescription
streamStream
valueInt16The Int16 value to write.
endianEndianThe endianness to use.