public Open ( Stream outStr, byte buffer ) : Stream | ||
outStr | Stream | |
buffer | byte | |
return | Stream |
Return an output stream which will encrypt the data as it is written to it. The stream will be written out in chunks according to the size of the passed in buffer.
The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr
.
Note: if the buffer is not a power of 2 in length only the largest power of 2 bytes worth of the buffer will be used.
public Open ( Stream outStr, byte buffer ) : Stream | ||
outStr | Stream | |
buffer | byte | |
return | Stream |