C# Class RavenFS.Tests.Synchronization.IO.RandomlyModifiedStream

Inheritance: Stream
Afficher le fichier Open project: hibernating-rhinos/RavenFS Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : void
RandomlyModifiedStream ( Stream source, double probability, int seed = null ) : 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

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

RandomlyModifiedStream() public méthode

public RandomlyModifiedStream ( Stream source, double probability, int seed = null ) : System
source Stream
probability double
seed int
Résultat System

Read() public méthode

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

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