phelps.io
public interface RandomAccess
Potentially conflicts with java.util.RandomAccess, but seldom in practice.
Version: $Revision: 1.3 $ $Date: 2004/02/16 10:04:33 $
See Also: InputStreamRandomAccess
Method Summary | |
---|---|
void | close() |
long | getFilePointer() |
long | length() |
int | read() |
int | read(byte[] b, int off, int len) |
int | read(byte[] b) |
void | readFully(byte[] b) |
void | readFully(byte[] b, int off, int len) |
void | seek(long pos)
ByteArrayInputStream:
int available()
void close()
void mark(int readAheadLimit)
boolean markSupported()
int read()
int read(byte[] b, int off, int len)
void reset()
long skip(long n)
RandomAccessFile
void close()
FileChannel getChannel()
FileDescriptor getFD()
long getFilePointer()
long length()
int read()
int read(byte[] b)
int read(byte[] b, int off, int len)
boolean readBoolean()
byte readByte()
char readChar()
double readDouble()
float readFloat()
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
int readInt()
String readLine()
long readLong()
short readShort()
int readUnsignedByte()
int readUnsignedShort()
String readUTF()
void seek(long pos)
void setLength(long newLength)
int skipBytes(int n)
void writeBoolean(boolean v)
void writeByte(int v)
void writeBytes(String s)
void writeChar(int v)
void writeChars(String s)
void writeDouble(double v)
void writeFloat(float v)
void writeInt(int v)
void writeLong(long v)
void writeShort(int v)
void writeUTF(String str) |
int | skipBytes(int n) |
void | write(byte[] b) |
void | write(byte[] b, int off, int len) |
void | write(int b) |
void | writeString8(String s) Writes lower eight bits of each character in string -- high 8 bits are ignored. |