C# Class System.Runtime.Remoting.Channels.ChunkedMemoryStream

Inheritance: Stream
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
ChunkedMemoryStream ( IByteBufferPool bufferPool ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ToArray ( ) : byte[]
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void
WriteTo ( Stream stream ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AllocateMemoryChunk ( ) : MemoryChunk
ReleaseMemoryChunks ( MemoryChunk chunk ) : void

Method Details

ChunkedMemoryStream() public method

public ChunkedMemoryStream ( IByteBufferPool bufferPool ) : System
bufferPool IByteBufferPool
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void

WriteTo() public method

public WriteTo ( Stream stream ) : void
stream Stream
return void