Click or drag to resize

OffsetPacketReaderExtensionsReadSingle Method

Reads a 32bit single floating point number at offset in the buffer.

Namespace: Demo3D.IO
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.01.00
Syntax
C#
public static float ReadSingle(
	this IOffsetPacketReader reader,
	int offset
)

Parameters

reader  IOffsetPacketReader
The packet reader.
offset  Int32
The offset into the buffer to start reading.

Return Value

Single
The value read.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOffsetPacketReader. 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