Returns a null-terminated string from the buffer at the current position. If the end of buffer if reached before discovering a null terminator byte, then the decoded string includes all bytes up to the end of the buffer.

Namespace:  Kaazing.HTML5
Assembly:  Kaazing.Gateway (in Kaazing.Gateway.dll)

Syntax

Visual Basic
Public Function GetString ( _
	cs As Encoding _
) As String
C#
public string GetString(
	Encoding cs
)
Visual C++
public:
String^ GetString(
	Encoding^ cs
)

Parameters

cs
Type: System.Text..::..Encoding
The character set

Return Value

The null-terminated string

See Also