Setting the size of a stream if it is known after converting from a request