public static readCString(bytes as Byte[], offset as Int) as String:
Reads a null-terminated string from bytes.