public void write(byte[] b, int off, int len) throws IOException { buf.append(b, off, len);
public void write(int b) throws IOException { buf.append((byte) b);
	public void write(byte[] b, int off, int len) throws IOException {		buf.append(b, off, len);	}