Click or drag to resize

OffsetDataWriterExtensionsWriteInt16 Method

Writes a 16bit signed integer at offset in the buffer.

Namespace: Demo3D.IO
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public static void WriteInt16(
	this IOffsetDataWriter writer,
	int offset,
	short val,
	Endian endian
)

Parameters

writer  IOffsetDataWriter
The data writer.
offset  Int32
The offset into the buffer to start writing.
val  Int16
The value to write.
endian  Endian
The encoding of the data in the buffer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOffsetDataWriter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also