[]
ISequentialStream
[Guid("0c733a30-2a1c-11ce-ade5-00aa0044773d")]
[Shadow(typeof(ComStreamBaseShadow))]
public interface IStreamBase : ICallbackable, IDisposable
Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.
int Read(IntPtr buffer, int numberOfBytesToRead)
buffer
System.IntPtrThe read buffer.
numberOfBytesToRead
intThe number of bytes to read.
The actual number of bytes read from the stream object.
Writes a specified number of bytes into the stream object starting at the current seek pointer.
int Write(IntPtr buffer, int numberOfBytesToRead)
buffer
System.IntPtrThe buffer.
numberOfBytesToRead
intThe number of bytes to read.
The actual number of bytes written to the stream object