Create a StreamObject.
If no arguments are passed then the StreamObject contains no data.
No exception will be thrown.
If an array of bytes is passed then the StreamObject data will
be initialized with the contents of the array. No exception will
be thrown.
If a string is passed then the StreamObject data will be initialized
with the contents of the file. If the file cannot be read then an
exception is thrown.
|