C++ library passes incorrect data to flutter using dart:FFI I have a Flutter application that uses a c++ library using the Dart:ffi package.