Method | Description | |
---|---|---|
Close ( ) : void |
Close the stream.
|
|
DataStreamFromComStream ( IStream comStream ) : System |
Build the managed Stream object on top of the IStream COM object
|
|
Dispose ( ) : void |
Dispose this object and release the COM stream.
|
|
Flush ( ) : void |
Flush the pending data to the stream.
|
|
Read ( byte buffer, int index, int count ) : int |
Reads a buffer of data from the stream.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Changes the seek pointer to a new location relative to the current seek pointer or the beginning or end of the stream.
|
|
SetLength ( long value ) : void |
Sets the length of the stream.
|
|
Write ( byte buffer, int index, int count ) : void |
Writes a specified number of bytes into the stream object starting at the current seek pointer.
|
Method | Description | |
---|---|---|
_NotImpl ( string message ) : void |
public DataStreamFromComStream ( IStream comStream ) : System | ||
comStream | IStream | The COM IStream object. |
return | System |
public Read ( byte buffer, int index, int count ) : int | ||
buffer | byte | The buffer to read into. |
index | int | Starting position inside the buffer. |
count | int | Number of bytes to read. |
return | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | Displacement to be added to the location indicated by origin. |
origin | SeekOrigin | Specifies the origin for the displacement. |
return | long |
public SetLength ( long value ) : void | ||
value | long | The new lenght. |
return | void |
public Write ( byte buffer, int index, int count ) : void | ||
buffer | byte | The buffer to write into the stream. |
index | int | Index inside the buffer of the first byte to write. |
count | int | Number of bytes to write. |
return | void |