C# Class Org.BouncyCastle.Utilities.IO.Streams

Afficher le fichier Open project: nonorganic/dssnet

Méthodes publiques

Méthode Description
Drain ( Stream inStr ) : void
PipeAll ( Stream inStr, Stream outStr ) : void
PipeAllLimited ( Stream inStr, long limit, Stream outStr ) : long

Pipe all bytes from inStr to outStr, throwing StreamFlowException if greater than limit bytes in inStr.

ReadAll ( Stream inStr ) : byte[]
ReadAllLimited ( Stream inStr, int limit ) : byte[]
ReadFully ( Stream inStr, byte buf ) : int
ReadFully ( Stream inStr, byte buf, int off, int len ) : int

Private Methods

Méthode Description
Streams ( ) : System

Method Details

Drain() public static méthode

public static Drain ( Stream inStr ) : void
inStr Stream
Résultat void

PipeAll() public static méthode

public static PipeAll ( Stream inStr, Stream outStr ) : void
inStr Stream
outStr Stream
Résultat void

PipeAllLimited() public static méthode

Pipe all bytes from inStr to outStr, throwing StreamFlowException if greater than limit bytes in inStr.
public static PipeAllLimited ( Stream inStr, long limit, Stream outStr ) : long
inStr Stream /// A ///
limit long /// A ///
outStr Stream /// A ///
Résultat long

ReadAll() public static méthode

public static ReadAll ( Stream inStr ) : byte[]
inStr Stream
Résultat byte[]

ReadAllLimited() public static méthode

public static ReadAllLimited ( Stream inStr, int limit ) : byte[]
inStr Stream
limit int
Résultat byte[]

ReadFully() public static méthode

public static ReadFully ( Stream inStr, byte buf ) : int
inStr Stream
buf byte
Résultat int

ReadFully() public static méthode

public static ReadFully ( Stream inStr, byte buf, int off, int len ) : int
inStr Stream
buf byte
off int
len int
Résultat int