C# Class Microsoft.WindowsAzure.Samples.Data.Services.Client.BatchStream

Inheritance: Stream
Mostrar archivo Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets Class Usage Examples

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
Flush ( ) : void
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Append ( byte &buffer, int count ) : void
AssertOpen ( ) : void
BatchStream ( Stream stream, string boundary, Encoding batchEncoding, bool requestStream ) : System
ClearPreviousOperationInformation ( ) : void
DetectEncoding ( ) : Encoding
GetBoundaryAndEncodingFromMultipartMixedContentType ( string contentType, string &boundary, Encoding &encoding ) : bool
GetContentStream ( ) : Stream
GetResponseVersion ( ) : string
GetStateBasedOnHttpMethodName ( string methodName ) : BatchStreamState
GetStatusCode ( ) : HttpStatusCode
MoveNext ( ) : bool
ReadBuffer ( ) : bool
ReadContentHeaders ( ) : void
ReadDelimiter ( byte buffer, int offset, int count ) : int
ReadHttpHeaders ( ) : void
ReadLength ( byte buffer, int offset, int count ) : int
ReadLine ( ) : string
VerifyBoundary ( string boundary ) : string

Method Details

BeginRead() public method

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

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

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