System.ZLib.ZSendToBrowser
Delphi
procedure ZSendToBrowser(var s: string);
C++
extern DELPHI_PACKAGE void __fastcall ZSendToBrowser(System::UnicodeString &s);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.ZLib.pas System.ZLib.hpp |
System.ZLib | System.ZLib |
Description
ZSendToBrowser compresses data from a string and copies it (bitwise) back into the string.
ZSendToBrowser compresses the input string s, and copies the compression, bitwise, back into the input string s.
The input string s will be modified and resized.
ZSendToBrowser may raise an EZCompressionError.
For the sample:
aString := 'AbcDe';
ZSendToBrowser(aString);
Writeln(aString);
After calling the ZSendToBrowser function, aString will contain the compression of 'AbcDe', so the output will be:
??????????