public class ByteArrayFileIO extends BaseAndroidFileIO
| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
bytes |
protected String |
path |
oflags, opSIOCGIFCONF, SIOCGIFFLAGS| 构造器和说明 |
|---|
ByteArrayFileIO(int oflags,
String path,
byte[] bytes) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
int |
fstat(Emulator<?> emulator,
StatStructure stat) |
protected byte[] |
getMmapData(int offset,
int length) |
int |
ioctl(Emulator<?> emulator,
long request,
long argp) |
int |
lseek(int offset,
int whence) |
int |
pread(Backend backend,
com.sun.jna.Pointer buffer,
int count,
long offset) |
int |
read(Backend backend,
com.sun.jna.Pointer buffer,
int count) |
String |
toString() |
int |
write(byte[] data) |
accept, getdents64, setFlags, statfsbind, canRead, connect, dup2, fcntl, ftruncate, getPath, getpeername, getsockname, getsockopt, listen, llseek, mmap2, recvfrom, sendto, setsockopt, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbind, connect, dup2, fcntl, ftruncate, getPath, getpeername, getsockname, getsockopt, listen, llseek, mmap2, recvfrom, sendto, setsockopt, shutdownprotected final byte[] bytes
protected final String path
public ByteArrayFileIO(int oflags,
String path,
byte[] bytes)
public void close()
close 在接口中 FileIOclose 在类中 AbstractFileIOpublic int write(byte[] data)
write 在接口中 FileIOwrite 在类中 AbstractFileIOpublic int pread(Backend backend, com.sun.jna.Pointer buffer, int count, long offset)
pread 在接口中 FileIOpread 在类中 AbstractFileIOpublic int read(Backend backend, com.sun.jna.Pointer buffer, int count)
read 在接口中 FileIOread 在类中 AbstractFileIOpublic int lseek(int offset,
int whence)
lseek 在接口中 FileIOlseek 在类中 AbstractFileIOpublic int fstat(Emulator<?> emulator, StatStructure stat)
fstat 在接口中 AndroidFileIOfstat 在类中 BaseAndroidFileIOprotected byte[] getMmapData(int offset,
int length)
getMmapData 在类中 AbstractFileIOpublic int ioctl(Emulator<?> emulator, long request, long argp)
ioctl 在接口中 FileIOioctl 在类中 AbstractFileIOCopyright © 2021. All rights reserved.