@Mata, Evan [USA] The previous Q&A example you have given should allow you to read the block into a stream if you use the readinto(stream) option. See also this related StackOverflow thread which has some more helpful details.
Hope this helps! Let me know if you are still having issues or need further assistance.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.