BufferedStream Methods

Overview | This Package | All Packages

BufferedStream Methods

Constructors Description
BufferedStream Creates a buffered data stream.

Methods Description
close Closes the buffer.

flush Forces any data remaining in the buffer to be written to the file.

getLength Retrieves the length of the stream in bytes.

getPosition Retrieves the position of this stream. 

getStream Retrieves the current buffered stream.

read Reads the next byte of data from this stream.

readByte Reads a byte from this stream.

readChar Reads a character from this stream.

readCore Implements the core array read method.

readInt Reads an integer from this stream.

readShort Reads a short value from this stream.

readStringCharsAnsi Reads an American National Standards Institute (ANSI) string from this stream.

readStringNull Reads a null-terminated Unicode string from this stream.

readStringNullAnsi Reads a null-terminated ANSI string from this stream.

setLength Sets the length of this stream.

setPosition Sets the position of this stream.

write Writes a single byte of data to this stream.

writeByte Writes a byte to this stream.

writeChar Writes a character to this stream.

writeCore Implements the core array write method.

writeInt Writes an integer to this stream.

writeShort Writes a short value to this stream.