Reference Library
InsertWidePascalString Method (str, enc)
NamespacesMBNCSUtilDataBufferInsertWidePascalString(String, Encoding)
Inserts the specified value into the buffer as a wide-pascal-style string using the specified encoding.
Declaration Syntax
C#Visual BasicVisual C++
public void InsertWidePascalString(
	string str,
	Encoding enc
)
Public Sub InsertWidePascalString ( _
	str As String, _
	enc As Encoding _
)
public:
void InsertWidePascalString(
	String^ str, 
	Encoding^ enc
)
Parameters
str (String)
The string value to insert.
enc (Encoding)
The encoding to use.
Remarks

This method inserts a string prefixed by the total number of characters in the string. At most a string may be 65,535 characters.

Exceptions
ExceptionCondition
ArgumentNullExceptionEither str or enc were null (Nothing in Visual Basic).
ArgumentExceptionThe length of str was too great; maximum string length is 65,535 characters.

Assembly: Asgard5Library (Module: Asgard5Library)