Méthode | Description | |
---|---|---|
ReadWholeArray ( Stream stream, byte data ) : void |
Reads data into a complete array, throwing an EndOfStreamException if the stream runs out of data first, or if an IOException naturally occurs. Taken from: http://www.yoda.arachsys.com/csharp/readbinary.html
|
public static ReadWholeArray ( Stream stream, byte data ) : void | ||
stream | Stream | The stream to read data from |
data | byte | The array to read bytes into. The array /// will be completely filled from the stream, so an appropriate /// size must be given. |
Résultat | void |