Read a specific range (slice) of a stream