nwnlibd.parseutils

Internal parsing tools

Members

Functions

charArrayToString
string charArrayToString(T str)

Converts a static char array to string. The static char array may or may not be null terminated

dumpByteArray
string dumpByteArray(ubyte[] byteArray)

Formats a binary array to something readable

flagsToString
string flagsToString(VAL value)

Prints an integer as being a combination of bit flags

stringToCharArray
T stringToCharArray(string str)

Converts a string to a static char array. The static char array may or may not be null terminated

toSafeString
string toSafeString(T str)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ChunkReader
struct ChunkReader

Read a ubyte[] by chunks

ChunkWriter
struct ChunkWriter
Undocumented in source.

Templates

DebugPrintStruct
template DebugPrintStruct()
Undocumented in source.

Meta