read method
Implementation
Uint8List read(int length) {
var j = index;
if (j + length <= this.length) {
var bytes = dataView.sublist(j, j + length);
index += length;
return bytes;
} else {
throw Exception('BinaryPackFailure: read index out of range');
}
}