asset manager const void* AAsset_getBuffer(AAsset* asset);
const void* AAsset_getBuffer(AAsset* asset);
Dianne Hackborn says:
I suggest not using getBuffer() for a compressed file.
It really only make sense for a file that isn't compressed,
where this can give you a direct pointer to the mmapped data.
(http://groups.google.com/group/android-ndk/browse_thread/thread/30b9f5abf48347a0/ef62db9a18646b1d)