常用构造方法将 FileOutputStream 转换成 DataOutputStream 。
public | DataOutputStream::DataOutputStream(OutputStream out) |
public synchronized void | DataOutputStream::write(int b) throws IOException |
public synchronized void | DataOutputStream::write(byte b[], int off, int len) |
public void | DataOutputStream::flush() throws IOException |
public final void | DataOutputStream::writeBoolean(boolean v) throws IOException |
public final void | DataOutputStream::writeByte(int v) throws IOException |
public final void | DataOutputStream::writeShort(int v) throws IOException |
public final void | DataOutputStream::writeChar(int v) throws IOException |
public final void | DataOutputStream::writeInt(int v) throws IOException |
public final void | DataOutputStream::writeLong(long v) throws IOException |
public final void | DataOutputStream::writeFloat(float v) throws IOException |
public final void | DataOutputStream::writeDouble(double v) throws IOException |
public final void | DataOutputStream::writeBytes(String s) throws IOException |
public final void | DataOutputStream::writeChars(String s) throws IOException |
public final void | DataOutputStream::writeUTF(String str) throws IOException |
public final int | DataOutputStream::size() |