DelegatingStringIO.

WriteLengthAndString(IWriteBuffer, string) Method

Summary

Note the different implementation when compared to LatinStringIO and UnicodeStringIO: Instead of writing the length of the string, UTF8StringIO writes the length of the byte array.

Syntax

public override void WriteLengthAndString(IWriteBuffer buffer, string str)

Remarks

Note the different implementation when compared to LatinStringIO and UnicodeStringIO: Instead of writing the length of the string, UTF8StringIO writes the length of the byte array.

Parameters

Name Type Description
buffer IWriteBuffer
str string

Return Value

Type Description
void