Wrap any Stream with Framework decorators: BoundedStream for a confined region, HashingStream for a digest while writing, EncryptedStream for length-preserving AES-CTR, read-only and non-closing views, and FragmentedStream over separate fragments.
Read article