Click or drag to resize

DataReaderExtensionsGetString Method

Reads a string from the current position in the buffer. The current position is advanced by the number of bytes read.

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static string GetString(
	this IDataReader reader,
	BinaryTextEncoding encoding
)

Parameters

reader
Type: Demo3D.IOIDataReader
The packet reader.
encoding
Type: Demo3D.IOBinaryTextEncoding
The encoding of the string in the packet (or null to use the default).

Return Value

Type: String
The string read.

Usage Note

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