메소드 | 설명 | |
---|---|---|
ArraySegmentStream ( BufferCollection buffers ) : System |
Attaches the stream to a set of buffers
|
|
ArraySegmentStream ( BufferManager bufferManager, int bufferSize, int start, int count ) : System |
Creates a writeable stream that creates buffers as necessary.
|
|
Flush ( ) : void | ||
GetBuffers ( string owner ) : BufferCollection |
Returns ownership of the buffers stored in the stream.
|
|
Read ( byte buffer, int offset, int count ) : int | ||
Seek ( long offset, SeekOrigin origin ) : long | ||
SetLength ( long value ) : void | ||
Write ( byte buffer, int offset, int count ) : void |
메소드 | 설명 | |
---|---|---|
GetAbsoluteLength ( ) : int |
Returns the total length in all buffers.
|
|
GetAbsolutePosition ( ) : int |
Returns the current position.
|
|
GetBufferCount ( int index ) : int |
Returns the number of bytes used in the buffer.
|
|
SetCurrentBuffer ( int index ) : void |
Sets the current buffer.
|
public ArraySegmentStream ( BufferCollection buffers ) : System | ||
buffers | BufferCollection | The buffers. |
리턴 | System |
public ArraySegmentStream ( BufferManager bufferManager, int bufferSize, int start, int count ) : System | ||
bufferManager | BufferManager | The buffer manager. |
bufferSize | int | Size of the buffer. |
start | int | The start. |
count | int | The count. |
리턴 | System |
public GetBuffers ( string owner ) : BufferCollection | ||
owner | string | The owner. |
리턴 | BufferCollection |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
리턴 | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
리턴 | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
리턴 | void |