mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
one last dart omit local (#7070)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user