getString method
get string value with length
length
must 8^n, get length ~/ 8
bits to bytes
and then covert the bytes to a string.
Implementation
String getString(int length) {
var data = getUint8List(length);
return String.fromCharCodes(data);
}