@Override public void writeChar(int v) throws IOException { flush(); outputFile.writeChar(v); }
@Override public void writeLong(long v) throws IOException { flush(); outputFile.writeLong(v); }
/** * Writes bytes to the stream from the given buffer. * @param b Source buffer to read data from. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b) throws IOException { flush(); outputFile.write(b); }
@Override public void writeByte(int v) throws IOException { flush(); outputFile.writeByte(v); }
@Override public void writeInt(int v) throws IOException { flush(); outputFile.writeInt(v); }
@Override public void write(byte[] b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
@Override public void writeChar(int v) throws IOException { flush(); outputFile.writeChar(v); }
/** * Writes bytes to the stream from the given buffer. * @param b Source buffer to read data from. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b) throws IOException { flush(); outputFile.write(b); }
@Override public void writeBoolean(boolean v) throws IOException { flush(); outputFile.writeBoolean(v); }
@Override public void write(byte[] b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
@Override public void write(int b) throws IOException { flush(); outputFile.write(b); }
@Override public void writeUTF(String str) throws IOException { flush(); outputFile.writeUTF(str); }
@Override public void write(byte[] b) throws IOException { flush(); outputFile.write(b); }
@Override public void writeBytes(String s) throws IOException { flush(); outputFile.writeBytes(s); }
@Override public void writeDouble(double v) throws IOException { flush(); outputFile.writeDouble(v); }
@Override public void writeShort(int v) throws IOException { flush(); outputFile.writeShort(v); }
/** * @param b Source buffer to read data from. * @param off Offset within the buffer to start reading from. * @param len Number of bytes to read. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
@Override public void writeLong(long v) throws IOException { flush(); outputFile.writeLong(v); }
@Override public void writeShort(int v) throws IOException { flush(); outputFile.writeShort(v); }
@Override public void writeFloat(float v) throws IOException { flush(); outputFile.writeFloat(v); }