Click or drag to resize

OffsetDataWriterExtensionsWriteBytes Method (IOffsetDataWriter, Int32, Byte, Int32, Int32)

Writes a bytes at offset in the data.

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static void WriteBytes(
	this IOffsetDataWriter writer,
	int offset,
	byte[] fromBuffer,
	int fromBufferOffset,
	int length
)

Parameters

writer
Type: Demo3D.IOIOffsetDataWriter
The data writer.
offset
Type: SystemInt32
The offset into the data to start writing.
fromBuffer
Type: SystemByte
The data to write.
fromBufferOffset
Type: SystemInt32
The offset into fromBuffer to write the data.
length
Type: SystemInt32
The number of bytes to write.

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