Метод | Описание | |
---|---|---|
Flush ( ) : void |
Flushes any internal output buffers.
|
|
MemoryBlockStream ( ) : System |
Initializes a new instance of the MemoryBlockStream class.
|
|
Read ( byte buffer, int offset, int count ) : int |
Reads data into the specified buffer.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Seeks to the specified offset.
|
|
SetLength ( long value ) : void |
Sets the length.
|
|
ToArray ( ) : byte[] |
Copies the memory stream into a byte array.
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes the specified buffer.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose the specified disposing.
|
Метод | Описание | |
---|---|---|
CheckDisposed ( ) : void | ||
ValidateArguments ( byte buffer, int offset, int count ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | If set to |
Результат | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer to read data into. |
offset | int | The offset into the buffer to start reading data. |
count | int | The number of bytes to read. |
Результат | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | The offset from the specified origin. |
origin | SeekOrigin | The origin from which to seek. |
Результат | long |
public SetLength ( long value ) : void | ||
value | long | The new length. |
Результат | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer to write. |
offset | int | The offset of the first byte to write. |
count | int | The number of bytes to write. |
Результат | void |