Method | 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.
|
Method | Description | |
---|---|---|
StreamUtils ( ) : System |
public static ReadFully ( Stream stream, int initialLength ) : byte[] | ||
stream | Stream | The stream to read data from |
initialLength | int | The initial buffer length |
return | byte[] |