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

Afficher le fichier Open project: Nethereum/Nethereum

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.IO

Method Details

Drain() public static méthode

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

PipeAll() public static méthode

public static PipeAll ( Stream inStr, Stream outStr ) : void
inStr System.IO.Stream
outStr System.IO.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 System.IO.Stream /// A ///
limit long /// A ///
outStr System.IO.Stream /// A ///
Résultat long

ReadAll() public static méthode

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

ReadAllLimited() public static méthode

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

ReadFully() public static méthode

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

ReadFully() public static méthode

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