saf_stream_jni_io library

Classes

SafStreamJniIo
JStaticMethodIds are resolved once and cached (static final, matching the pattern package:jni's own generated bindings use in core_bindings.dart), not re-resolved with staticMethodId(...) on every chunk. GetStaticMethodID is a reflective symbol-table lookup; at a 64 KB chunk size against a 100 MB file that's ~1600 lookups per direction that were previously happening on every single call.