All of the oestream
classes derive from this class. It provides the
basic utilities found in both input and output streams, including determining
whether EOF has been reached (eof
), the size of the stream
(size
), the current position in the stream (tell
), how many bytes
were either read or written in the last operation (length
), and lastly
it provides the ability to move within the stream (seek
).