Skip to content
Sasha Crofter edited this page May 29, 2012 · 1 revision

typ.cCopy (inputPointer, outputPointer)

Copies the null-terminated string at inputPointer to outputPointer. returns the location following the last character of the copy at the outputPointer location (?)

typ.cUnpack (inputPointer, outputPointer)

Reads a packed (0b0YYY YYYY 0XXX XXXX) null-terminated at inputPointer and outputs an unpacked (0b0000 0000 0XXX XXXX) string at outputPointer.

typ.pPack (inputLocation, inputLength, outputLocation)

Reads an unpacked (0b0000 0000 0XXX XXXX) string from inputLocation of inputLength and outputs a packed (0b0YYY YYYY 0XXX XXXX) little-endian style string at outputLocation.

typ.pUnpack (inputPointer, inputLength, outputPoiner)

Reads a packed (0b0YYY YYYY 0XXX XXXX) in little-endian at inputPointer of inputLength and outputs an unpacked (0b0000 0000 0XXX XXXX) string at outputPointer.

Clone this wiki locally