Class of android.content.res · AssetFileDescriptor.java · Android's reference
public class AssetFileDescriptor implements java.io.Closeable
A part of an open file: an asset, which the runtime copies out of the APK to a file first.
public static final long UNKNOWN_LENGTH = -1 sourcepublic AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, long length) sourcepublic ParcelFileDescriptor getParcelFileDescriptor() sourcepublic FileDescriptor getFileDescriptor() sourcepublic long getStartOffset() sourcepublic long getLength() sourcepublic long getDeclaredLength() sourcepublic void close() throws IOException sourcepublic FileInputStream createInputStream() throws IOException sourcepublic FileOutputStream createOutputStream() throws IOException sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.