seoj135 / android-asset-to-fp-ndk Goto Github PK
View Code? Open in Web Editor NEWAccess Android Assets as c++ FILE* or iostream in Android Native Development System
Access Android Assets as c++ FILE* or iostream in Android Native Development System
* Author: Seo Gangwon * Date: 2019-01-10 * Contact: [email protected] * * This is revised by Seogangwon to use Android asset to iostream. 2019-01-10 * The original code is from California Institute of Technology * * --------------------------------------------------------------------------------- * Copyright (c) 2002-2004 California Institute of Technology * Copyright (c) 2004-2007 University of Southern California * Rob Peters <rjpeters at usc dot edu> * * This was a parts of Library that is GroovX On GNU General Public License * REF * BaseURL: http://ilab.usc.edu/rjpeters/groovx/ * Header : http://ilab.usc.edu/rjpeters/groovx/gzstreambuf_8h-source.html * Source : http://ilab.usc.edu/rjpeters/groovx/gzstreambuf_8cc-source.html * * --------------------------------------------------------------------------------- * Usage * * #include <AssetFILEp.h> * #include <AssetBuf.h> * FILE* fp = _s_ndk_util::android_fopen([AssetFileName] , "r", [AssetManagerFromAndroidContext]); * _s_ndk_util::AssetBuf assetBuf(fp, "r", false); * std::iostream fs(&assetBuf); * * ps+ [AssetFileName] location is res/assets (src/main/assets)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.