Method | Description | |
---|---|---|
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
Close ( ) : void | ||
Read ( byte buffer, int offset, int count ) : int |
Reads a block of bytes from the current stream and writes the data to buffer.
|
|
ReadWriteMemoryStream ( int size ) : System |
Initializes a new instance of the ReadWriteMemoryStream class.
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes a block of bytes to the current stream using data read from buffer.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
buffer | byte | |
offset | int | |
count | int | |
callback | AsyncCallback | |
state | object | |
return | IAsyncResult |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | When this method returns, contains the specified byte array with the values between |
offset | int | The byte offset in |
count | int | The maximum number of bytes to read. |
return | int |
public ReadWriteMemoryStream ( int size ) : System | ||
size | int | The size. |
return | System |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer to write data from. |
offset | int | The byte offset in |
count | int | The maximum number of bytes to write. |
return | void |