Puts a length-prefixed string into the buffer at the current position

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

Syntax

Visual Basic
Public Function PutPrefixedString ( _
	fieldSize As Integer, _
	v As String, _
	e As Encoding _
) As ByteBuffer
C#
public ByteBuffer PutPrefixedString(
	int fieldSize,
	string v,
	Encoding e
)
Visual C++
public:
ByteBuffer^ PutPrefixedString(
	int fieldSize, 
	String^ v, 
	Encoding^ e
)

Parameters

fieldSize
Type: System..::..Int32
Size of the length prefix field
v
Type: System..::..String
The string
e
Type: System.Text..::..Encoding
The character set

Return Value

The buffer

See Also