Files
android_translation_layer/src/api-impl-jni/AssetInputStream.h
Julian Winkler 21a75d7ff0 WebView: use Asset_read() instead of Asset_openFileDescriptor()
openFileDescriptor doesn't work for assets which are compressed inside
the APK.
2024-10-05 10:26:50 +02:00

12 lines
265 B
C

#include <gio/gio.h>
struct _AssetInputStream
{
GInputStream parent_instance;
struct Asset *asset;
};
G_DECLARE_FINAL_TYPE(AssetInputStream, asset_input_stream, ATL, ASSET_INPUT_STREAM, GInputStream);
GInputStream *asset_input_stream_new(struct Asset *asset);