1
Vote

ByteRangeStream Stream Position question

description

In the ByteRangeStream class, when the _lowerbounds variable is calculated, the current method ignores the position of the inputStream property.
In my scenario, I need to output to the output of the user's stream was not starting from 0, the total size is not calculated from 0, but to remove the In the ByteRangeStream class, when the _lowerbounds variable is calculated, the current method ignores the position of the inputStream property.
In my scenario, I need to output to the output of the user's stream was not starting from 0, the total size is not calculated from 0, but to remove the current position of the result.
Can you modify ByteRangeStream, set the current position into account?

comments