TTMSFNCPDFGraphicsLibOutputWriter.CompressStream Method
Compresses the content of
AStreamusing zlib deflate and returns the result in a newTStringStream.
API unit family: TMSFNCPDFCoreLibBase
Declaring type: TTMSFNCPDFGraphicsLibOutputWriter
Syntax
function CompressStream(AStream: TStringStream): TStringStream;
Parameters
| Name | Description |
|---|---|
AStream |
Stream to compress. |
Returns
New stream containing the deflate-compressed bytes. The caller is responsible for freeing the returned stream.