Gets a stream with initial capacity not less than specified.
public Stream GetStream(long capacity)
Minimum initial capacity of the stream.
Returns a stream with initial capacity not less than specified by the
Caller of the method is responsible for disposing of the returned stream.
The returned stream keep its contents in memory for as long as its length is less than the memory limit of this provider. If the stream length is about to surpass the memory limit the stream will switch to using disk storage instead.