BlockStream is used to initialize a stream of type
BlockStream refers to the stream that is embedded to
the I/O byte channels.
BlockStream using an
init (ReadableByteChannel readableByteChannel, int blockSize)
function close() returns Error?
Closes the stream. The primary usage of this function is to close the stream without reaching the end
If the stream reaches the end, the
BlockStream.next() will automatically close the stream.
() when the closing was successful or an