frysk.sys
Class StatelessFile
java.lang.Object
frysk.sys.StatelessFile
- Direct Known Subclasses:
- Mem
public class StatelessFile
- extends Object
Method Summary |
int |
pread(long fileOffset,
byte[] bytes,
int start,
int length)
|
int |
pwrite(long fileOffset,
byte[] bytes,
int start,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unixPath
protected final byte[] unixPath
StatelessFile
public StatelessFile(File file)
- Creates a StatelessFile bound to the existing FILE.
StatelessFile
public StatelessFile(String file)
- Creates a StatelessFile bound to the existing FILE.
pread
public int pread(long fileOffset,
byte[] bytes,
int start,
int length)
pwrite
public int pwrite(long fileOffset,
byte[] bytes,
int start,
int length)