Tom Park
Tom Park
I just worded this question more succinctly and clearly here: https://stackoverflow.com/questions/77623267/how-to-avoid-copying-the-bytes-in-dart-when-deserializing-an-image-from-a-flatbu
Thanks James. I was hoping I could just modify something in the generated Dart code, but you're right. It does appear that this needs to be addressed in the Flatbuffers...
Oh geez, I just realized that it was you who wrote that backward compatibility thing about `Uint8List` vs `List`. [https://stackoverflow.com/questions/69090275/uint8list-vs-listint-what-is-the-difference/69091484#69091484](https://stackoverflow.com/questions/69090275/uint8list-vs-listint-what-is-the-difference/69091484#69091484) > There are a number of functions that take or...
Hello. Sorry @vaind and @NotTsunami, for my lack of an earlier reply. In Dec I did take a quick look at trying to change the `Uint32ListReader.read` return type as suggested...
__What I did instead__ It would have been nice to contribute something upstream, but what I ended up doing wasn't conductive to that. As simple as `dart/lib/flat_buffers.dart` may be, honestly...
> No. `Uint8ListReader.read` and `Int8ListReader.read` both return `List`. If they returned `Uint8List.view(...)` as I suggested, the return type would not need to change; `Uint8List` is a subtype of `List`. Of...