Dart: binary lists (typed_data) (#6839)

* Dart - add eager mode to Uint8ListReader

* Dart - add Int8ListReader

* Dart - use binary reader where useful

* Dart - test binary list reader laziness

* Dart - update generated code
This commit is contained in:
Ivan Dlugos
2021-09-15 17:50:57 +02:00
committed by GitHub
parent 0a3b017f09
commit 90baa1444b
6 changed files with 108 additions and 33 deletions

View File

@@ -373,8 +373,7 @@ class Reference {
return null;
}
int _diffKeys(
List<int> input, int index, int indirectOffset, int byteWidth) {
int _diffKeys(List<int> input, int index, int indirectOffset, int byteWidth) {
final keyOffset = indirectOffset + index * byteWidth;
final keyIndirectOffset =
keyOffset - _readUInt(keyOffset, BitWidthUtil.fromByteWidth(byteWidth));