Method GetStream
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetStream(long)
Gets a memory stream with initial capacity not less than specified.
public Stream GetStream(long capacity)
Parameters
capacity
longMinimum initial capacity of the stream.
Returns
- Stream
Returns a memory stream with initial capacity not less than specified by the
capacity
.
Remarks
Caller of the method is responsible for disposing of the returned stream.
Returned stream is of MemoryStream type.