abstract sclass AbstractOutputStream extends OutputStream { public void write(int b) throws IOException { write(new byte[] { (byte) b }, 0, 1); } public void write(byte[] b) throws IOException { write(b, 0, l(b)); } public abstract void write(byte[] buf, int ofs, int len) throws IOException; }