Package com.biglybt.core.util
Interface QTFastStartRAF.FileAccessor
-
- All Known Implementing Classes:
QTFastStartRAF.RAFAccessor
- Enclosing class:
- QTFastStartRAF
public static interface QTFastStartRAF.FileAccessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
long
getFilePointer()
java.lang.String
getName()
long
length()
int
read(byte[] buffer, int pos, int len)
void
readFully(byte[] buffer)
int
readInt()
long
readLong()
void
seek(long pos)
void
skipBytes(int num)
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getFilePointer
long getFilePointer() throws java.io.IOException
- Throws:
java.io.IOException
-
seek
void seek(long pos) throws java.io.IOException
- Throws:
java.io.IOException
-
skipBytes
void skipBytes(int num) throws java.io.IOException
- Throws:
java.io.IOException
-
length
long length() throws java.io.IOException
- Throws:
java.io.IOException
-
read
int read(byte[] buffer, int pos, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
readInt
int readInt() throws java.io.IOException
- Throws:
java.io.IOException
-
readLong
long readLong() throws java.io.IOException
- Throws:
java.io.IOException
-
readFully
void readFully(byte[] buffer) throws java.io.IOException
- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-