readCString method
Implementation
String readCString() {
var stringBytes = <int>[];
while (byteList[offset++] != 0) {
stringBytes.add(byteList[offset - 1]);
}
return utf8.decode(stringBytes);
}
String readCString() {
var stringBytes = <int>[];
while (byteList[offset++] != 0) {
stringBytes.add(byteList[offset - 1]);
}
return utf8.decode(stringBytes);
}