Method | Description | |
---|---|---|
Close ( object clientData ) : void |
Closes the current stream.
|
|
Read ( object clientData, byte buffer, int offset, int count ) : int |
Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
|
|
Seek ( object clientData, long offset, SeekOrigin origin ) : long |
Sets the position within the current stream.
|
|
Size ( object clientData ) : long |
Gets the length in bytes of the stream.
|
|
Write ( object clientData, byte buffer, int offset, int count ) : void |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
|
public Close ( object clientData ) : void | ||
clientData | object | A client data (by default, an underlying stream). |
return | void |
public Read ( object clientData, byte buffer, int offset, int count ) : int | ||
clientData | object | A client data (by default, an underlying stream). |
buffer | byte | An array of bytes. When this method returns, the
/// |
offset | int | The zero-based byte offset in |
count | int | The maximum number of bytes to be read from the current stream. |
return | int |
public Seek ( object clientData, long offset, SeekOrigin origin ) : long | ||
clientData | object | A client data (by default, an underlying stream). |
offset | long | A byte offset relative to the |
origin | SeekOrigin | A value of type |
return | long |
public Size ( object clientData ) : long | ||
clientData | object | A client data (by default, an underlying stream). |
return | long |
public Write ( object clientData, byte buffer, int offset, int count ) : void | ||
clientData | object | A client data (by default, an underlying stream). |
buffer | byte | An array of bytes. This method copies |
offset | int | The zero-based byte offset in |
count | int | The number of bytes to be written to the current stream. |
return | void |