diff options
author | Derek Bailey <derekbailey@google.com> | 2022-02-01 22:25:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 22:25:52 -0800 |
commit | 619b784374881670056ea6e2130cdd4dbc3b10cc (patch) | |
tree | d83faa5de9c7ee7b42688d92d823b8df04771ed5 | |
parent | 68a7661546e973e2e0effbeaf5446da6a0a9fb34 (diff) | |
download | flatbuffers-619b784374881670056ea6e2130cdd4dbc3b10cc.tar.gz flatbuffers-619b784374881670056ea6e2130cdd4dbc3b10cc.tar.bz2 flatbuffers-619b784374881670056ea6e2130cdd4dbc3b10cc.zip |
one last dart omit local (#7070)
-rw-r--r-- | dart/lib/flat_buffers.dart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dart/lib/flat_buffers.dart b/dart/lib/flat_buffers.dart index cd1639cb..d27d4bf3 100644 --- a/dart/lib/flat_buffers.dart +++ b/dart/lib/flat_buffers.dart @@ -1054,7 +1054,7 @@ class StringReader extends Reader<String> { String read(BufferContext bc, int offset) { var strOffset = bc.derefObject(offset); var length = bc._getUint32(strOffset); - Uint8List bytes = bc._asUint8List(strOffset + _sizeofUint32, length); + var bytes = bc._asUint8List(strOffset + _sizeofUint32, length); if (asciiOptimization && _isLatin(bytes)) { return String.fromCharCodes(bytes); } |