Méthode | Description | |
---|---|---|
ToByteArray ( this 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.
|
|
ToStream ( this str ) : StringStream | ||
ToStream ( this str, |
public static ToByteArray ( this stream, int initialLength ) : byte[] | ||
stream | this | The stream to read data from |
initialLength | int | The initial buffer length |
Résultat | byte[] |
public static ToStream ( this str ) : StringStream | ||
str | this | |
Résultat | StringStream |
public static ToStream ( this str, |
||
str | this | |
encoding | ||
Résultat | StringStream |