PixelPerfectEngine.system.etc

Undocumented in source.

Members

Functions

csvParser
S[] csvParser(S input, char separator)

Parses a comma separated string into a single array.

intToHex
string intToHex(int i, int format)

Returns a hexadecimal string representation of the integer.

intToOct
string intToOct(int i, int format)

Returns a octal string representation of the integer.

isInteger
bool isInteger(S s)

Tests if the input string is integer and returns true if it is.

isPowerOf2
bool isPowerOf2(T x)

Returns true if x is power of two.

nextPow2
T nextPow2(T val)

From "Hackers Delight" val remains unchanged if it is already a power of 2.

parseHex
int parseHex(string s)

Parses a hexadecimal int represented as a string.

stringArrayConv
dstring[] stringArrayConv(string[] s)

Converts string[] to wstring[]

stringArrayJoin
S stringArrayJoin(S[] input)

Joins prettyprint strings to a single string for file storage.

Meta