Module pelite::util

source ·
Expand description

Utilities and other tidbits.

Structs

Nul-terminated C string.
Length word prefixed wide string.

Traits

Converts from a byte slice to a string.
Defines types which can be safely transmuted from any bit pattern.

Functions

Reads an optionally nul-terminated string from byte buffer.
Reads an optionally nul-terminated wide char string from buffer.