Returns a length-prefixed string from the buffer at the current position

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

Syntax

Visual Basic
Public Function GetPrefixedString ( _
	fieldSize As Integer, _
	cs As Encoding _
) As String
C#
public string GetPrefixedString(
	int fieldSize,
	Encoding cs
)
Visual C++
public:
String^ GetPrefixedString(
	int fieldSize, 
	Encoding^ cs
)

Parameters

fieldSize
Type: System..::..Int32
The width in bytes of the prefixed length field
cs
Type: System.Text..::..Encoding
The character set

Return Value

The length-prefixed string

See Also