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

This method inserts a string terminated by a null character. For 8-bit character encodings such as ASCII, this null character is also 8 bits. For 16-bit character encodings such as Unicode, this null character is also 16 bits.

Exceptions
ExceptionCondition
ArgumentNullExceptionEither str or enc were null (Nothing in Visual Basic).

Assembly: Asgard5Library (Module: Asgard5Library)