When overridden in a derived class, this method clears all buffers for the current Stream object and causes any buffered data to be written to the underlying device.
When overridden in a derived class, this method reads a sequence of bytes from the current Stream object and advances the position within the stream by the number of bytes tbat are read.
Reads a byte from the current Stream object and advances the position within the stream by one byte, or returns -1 if the end of the stream has been reached.
When overridden in a derived class, this method writes a sequence of bytes to the current Stream object and advances the current position within this stream by the number of bytes written to it.