Reference Library
InsertDwordString Method (str, padding)
NamespacesMBNCSUtilDataBufferInsertDwordString(String, Byte)
Inserts the specified value into the buffer as a 32-bit-style string using the specified byte as padding.
Declaration Syntax
C#Visual BasicVisual C++
public void InsertDwordString(
	string str,
	byte padding
)
Public Sub InsertDwordString ( _
	str As String, _
	padding As Byte _
)
public:
void InsertDwordString(
	String^ str, 
	unsigned char padding
)
Parameters
str (String)
The string which may be at most 4 characters.
padding (Byte)
The byte which shall be used to pad the string if it is less than 4 characters long.
Remarks

This method inserts a string with the maximum length of 4 into the buffer, reversed. This mimics the C-style declarations of 4-character integer literals:

unsigned long int star_product = 'STAR';

which results in RATS being in memory.

Exceptions
ExceptionCondition
ArgumentNullExceptionThe str parameter was null (Nothing in Visual Basic).
ArgumentExceptionThe length of str was too great; maximum string length is 4 characters.

Assembly: Asgard5Library (Module: Asgard5Library)