Gets a stream with initial capacity not less than specified.
Stream GetStream(long capacity)
Minimum initial capacity of the stream.
Returns a stream with initial capacity not less than specified by the
The stream must be readable, seekable and writable.
Caller of the method is responsible for disposing of the returned stream.
The library tries to specify size of the stream beforehand but it's possible for the library to request zero length streams and then increase streams length by writing to the stream.
Streams can be of almost any length from a few bytes to several megabytes.
Streams can be used for a short period of time or for the lifetime of the PDF document.