OffsetDataReaderExtensionsReadBytes(IOffsetDataReader, Int32, Byte, Int32, Int32) Method |
Reads a number of bytes at offset in the buffer.
Namespace: Demo3D.IOAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic static void ReadBytes(
this IOffsetDataReader reader,
int offset,
byte[] toBuffer,
int toBufferOffset,
int length
)
Parameters
- reader IOffsetDataReader
- The data reader.
- offset Int32
- The offset into the buffer to start reading.
- toBuffer Byte
- The buffer to fill.
- toBufferOffset Int32
- The start position within toBuffer to start writing.
- length Int32
- The number of bytes to read.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IOffsetDataReader. 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