feat(mobile): jxl decoder (#32592)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import 'package:ffi/ffi.dart';
|
||||
|
||||
import 'src/bindings.g.dart';
|
||||
|
||||
String version() {
|
||||
final ptr = native_core_version();
|
||||
try {
|
||||
return ptr.cast<Utf8>().toDartString();
|
||||
} finally {
|
||||
native_core_free_string(ptr);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user