public class Buffer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected void |
finalize() |
int |
getLength() |
int |
readByte(int at) |
int |
readBytes(int at,
byte[] bs) |
int |
readBytesInto(int at,
byte[] bs,
int off,
int len) |
void |
save(java.lang.String filename) |
void |
writeBuffer(Buffer buf) |
void |
writeByte(byte b) |
void |
writeBytes(byte[] bs) |
void |
writeBytesFrom(byte[] bs,
int off,
int len) |
void |
writeLine(java.lang.String line) |
void |
writeLines(java.lang.String... lines) |
void |
writeRune(int rune) |
protected void finalize()
finalize
in class java.lang.Object
public void destroy()
public int getLength()
public int readByte(int at)
public int readBytes(int at, byte[] bs)
public int readBytesInto(int at, byte[] bs, int off, int len)
public void writeByte(byte b)
public void writeBytes(byte[] bs)
public void writeBytesFrom(byte[] bs, int off, int len)
public void writeBuffer(Buffer buf)
public void writeRune(int rune)
public void writeLine(java.lang.String line)
public void writeLines(java.lang.String... lines)
public void save(java.lang.String filename)