Methods Summary |
---|
public void | flushBefore(long pos)Flushes the initial position in this stream prior to the specified stream
position.
|
public void | write(int b)Writes a single byte to the stream at the current position.
|
public void | write(byte[] b)Writes the bytes array to the stream.
|
public void | write(byte[] b, int off, int len)Writes a number of bytes from the specified byte array beginning from the
specified offset.
|
public void | writeBit(int bit)Writes a single bit at the current position.
|
public void | writeBits(long bits, int numBits)Writes a sequence of bits beginning from the current position.
|
public void | writeBoolean(boolean b)Writes the specified boolean value to the stream, 1 if it is true, 0 if
it is false.
|
public void | writeByte(int b)Writes the 8 lowest bits of the specified integer value to the stream.
|
public void | writeBytes(java.lang.String s)Writes the specified string to the stream.
|
public void | writeChar(int v)Writes the 16 lowest bits of the specified integer value to the stream.
|
public void | writeChars(java.lang.String s)Writes the specified String to the output stream.
|
public void | writeChars(char[] c, int off, int len)Writes a len number of chars to the stream.
|
public void | writeDouble(double v)Writes a double value to the output stream.
|
public void | writeDoubles(double[] d, int off, int len)Writes a len number of double values from the specified array to the
stream.
|
public void | writeFloat(float v)Writes a float value to the output stream.
|
public void | writeFloats(float[] f, int off, int len)Writes a len number of float values from the specified array to the
stream.
|
public void | writeInt(int v)Writes an integer value to the output stream.
|
public void | writeInts(int[] i, int off, int len)Writes a len number of integer values from the specified array to the
stream.
|
public void | writeLong(long v)Write long.
|
public void | writeLongs(long[] l, int off, int len)Writes a len number of long values from the specified array to the
stream.
|
public void | writeShort(int v)Writes a short value to the output stream.
|
public void | writeShorts(short[] s, int off, int len)Writes a len number of short values from the specified array to the
stream.
|
public void | writeUTF(java.lang.String s)Writes 2 bytes to the output stream in the modified UTF-8 representation
of every character of the specified string.
|