[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Storage.IStreamBase

Interface IStreamBase

Namespace
GrapeCity.Documents.DX.Storage
Assembly
GcDocs.DX.Windows.dll

ISequentialStream

[Guid("0c733a30-2a1c-11ce-ade5-00aa0044773d")]
[Shadow(typeof(ComStreamBaseShadow))]
public interface IStreamBase : ICallbackable, IDisposable
Inherited Members
System.IDisposable.Dispose()

Methods

Read(IntPtr, int)

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

int Read(IntPtr buffer, int numberOfBytesToRead)

Parameters

buffer System.IntPtr

The read buffer.

numberOfBytesToRead int

The number of bytes to read.

Returns

int

The actual number of bytes read from the stream object.

Write(IntPtr, int)

Writes a specified number of bytes into the stream object starting at the current seek pointer.

int Write(IntPtr buffer, int numberOfBytesToRead)

Parameters

buffer System.IntPtr

The buffer.

numberOfBytesToRead int

The number of bytes to read.

Returns

int

The actual number of bytes written to the stream object