C# Class System.Web.HttpResponseStream

Simple wrapper around HttpWriter to support the Stream interface
Inheritance: Stream
Show file Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
AppendBucket void
AppendBuffer void
AppendBuffer void
ApplyFilter void
Flush void
GetData System.IO.MemoryStream
GetTotalLength int
ReleaseResources void
SendChunkSize void
UnsafeWrite void
memcpy void
memcpy1 void
memcpy2 void
memcpy4 void

Public Methods

Method Description
Clear ( ) : void
Flush ( ) : void
HttpResponseStream ( HttpResponse response ) : System
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
WriteFile ( string f, long offset, long length ) : void
WritePtr ( IntPtr ptr, int length ) : void

Private Methods

Method Description
AppendBucket ( Bucket b ) : void
AppendBuffer ( IntPtr ptr, int count ) : void
AppendBuffer ( byte buffer, int offset, int count ) : void
ApplyFilter ( bool close ) : void
Flush ( System.Web.HttpWorkerRequest wr, bool final_flush ) : void
GetData ( ) : MemoryStream
GetTotalLength ( ) : int
ReleaseResources ( bool close_filter ) : void
SendChunkSize ( long l, bool last ) : void
UnsafeWrite ( System.Web.HttpWorkerRequest wr, byte buffer, int offset, int count ) : void
memcpy ( byte dest, byte src, int size ) : void
memcpy1 ( byte dest, byte src, int size ) : void
memcpy2 ( byte dest, byte src, int size ) : void
memcpy4 ( byte dest, byte src, int size ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

HttpResponseStream() public method

public HttpResponseStream ( HttpResponse response ) : System
response HttpResponse
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count 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

Write() public method

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

WriteFile() public method

public WriteFile ( string f, long offset, long length ) : void
f string
offset long
length long
return void

WritePtr() public method

public WritePtr ( IntPtr ptr, int length ) : void
ptr System.IntPtr
length int
return void