Reference Library
InsertPascalString Method (str, enc)
NamespacesMBNCSUtilDataBufferInsertPascalString(String, Encoding)
Inserts the specified value into the buffer as a pascal-style string using the specified encoding.
Declaration Syntax
C#Visual BasicVisual C++
public void InsertPascalString(
	string str,
	Encoding enc
)
Public Sub InsertPascalString ( _
	str As String, _
	enc As Encoding _
)
public:
void InsertPascalString(
	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 255 characters.

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

Assembly: Asgard5Library (Module: Asgard5Library)