C# Class Microsoft.Azure.Amqp.BufferListStream

Inheritance: Stream, ICloneable
Afficher le fichier Open project: Azure/azure-amqp Class Usage Examples

Méthodes publiques

Méthode Description
BufferListStream ( IList arraySegments ) : System
Clone ( ) : object
Create ( Stream stream, int segmentSize ) : BufferListStream
Create ( Stream stream, int segmentSize, bool forceCopyStream ) : BufferListStream
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadBuffers ( int count, bool advance, bool &more ) : ArraySegment[]
ReadByte ( ) : int
ReadBytes ( int count ) : ArraySegment
ReadStream ( Stream stream, int segmentSize, int &length ) : ArraySegment[]
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Advance ( int count, int segmentCount ) : void
SetPosition ( long pos ) : void
ThrowIfDisposed ( ) : void

Method Details

BufferListStream() public méthode

public BufferListStream ( IList arraySegments ) : System
arraySegments IList
Résultat System

Clone() public méthode

public Clone ( ) : object
Résultat object

Create() public static méthode

public static Create ( Stream stream, int segmentSize ) : BufferListStream
stream Stream
segmentSize int
Résultat BufferListStream

Create() public static méthode

public static Create ( Stream stream, int segmentSize, bool forceCopyStream ) : BufferListStream
stream Stream
segmentSize int
forceCopyStream bool
Résultat BufferListStream

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadBuffers() public méthode

public ReadBuffers ( int count, bool advance, bool &more ) : ArraySegment[]
count int
advance bool
more bool
Résultat ArraySegment[]

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

ReadBytes() public méthode

public ReadBytes ( int count ) : ArraySegment
count int
Résultat ArraySegment

ReadStream() public static méthode

public static ReadStream ( Stream stream, int segmentSize, int &length ) : ArraySegment[]
stream Stream
segmentSize int
length int
Résultat ArraySegment[]

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void