C# Class com.openrest.v1_1.StreamUtils

Afficher le fichier Open project: wix/openrest4net

Méthodes publiques

Méthode Description
ReadFully ( Stream stream, int initialLength ) : byte[]

Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.

Private Methods

Méthode Description
StreamUtils ( ) : System

Method Details

ReadFully() public static méthode

Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
public static ReadFully ( Stream stream, int initialLength ) : byte[]
stream Stream The stream to read data from
initialLength int The initial buffer length
Résultat byte[]