readString method
Implementation
String readString() {
int length = readInt(signed: false, bits: 32);
String s = "";
for (int i = 0; i < length; i++) {
s += String.fromCharCode(readInt(signed: false, bits: 16));
}
return s;
}
String readString() {
int length = readInt(signed: false, bits: 32);
String s = "";
for (int i = 0; i < length; i++) {
s += String.fromCharCode(readInt(signed: false, bits: 16));
}
return s;
}