OffsetDataReaderExtensionsReadBytes Method (IOffsetDataReader, Int32, ArraySegmentByte) |
Reads a number of bytes at offset in the buffer.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.03.00
Syntaxpublic static void ReadBytes(
this IOffsetDataReader reader,
int offset,
in ArraySegment<byte> toBuffer
)
Parameters
- reader
- Type: Demo3D.IOIOffsetDataReader
The data reader. - offset
- Type: SystemInt32
The offset into the buffer to start reading. - toBuffer
- Type: SystemArraySegmentByte
The buffer to fill.
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