Introduce a stream wrapped that allows to read stream by pieces.
Scenario is as follows:
- Get a read oriented stream
- Wrap it into DividedStream with piece size specification
- Get first piece as Stream
- Read it as requested but not more than piece size
- Dispose piece stream
- Get a next piece
- Repeat until newly returned piece stream is empty
This is useful when you need to store or work with large stream by pieces.
Introduce a stream wrapped that allows to read stream by pieces.
Scenario is as follows:
This is useful when you need to store or work with large stream by pieces.