The ISequentialStream interface contains the following methods:
Read reads a specified number of bytes from the stream object into memory starting at the current seek pointer.
Write writes a specified number of bytes into the stream object starting at the current seek pointer.