Method | 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 |
return | byte[] |
public static ToStream ( this str ) : StringStream | ||
str | this | |
return | StringStream |
public static ToStream ( this str, |
||
str | this | |
encoding | ||
return | StringStream |