Enum SeekOrigin Begin Current End End Enum Interface Stream Function CanRead() As Boolean Function CanSeek() As Boolean Function CanTimeout() As Boolean Function CanWrite() As Boolean Function Length() As Int64 Sub Position(value As Int64) Function Position() As Int64 Sub ReadTimeout(value As Long) Function ReadTimeout() As Long Sub WriteTimeout(value As Long) Function WriteTimeout() As Long Sub Close() Sub Flush() Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long Function ReadByte() As Long Function Seek(offset As Long, origin As SeekOrigin) As Long Sub SetLength(value As Int64) Sub Write (ByRef buffer[] As Byte, offset As Long, count As Long) Sub WriteByte(value As Byte) End Interface