io:BlockStream is used to initialize a stream of type
io: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