System.ZLib.ZDecompressStr
Delphi
function ZDecompressStr(const s: TBytes): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall ZDecompressStr(const System::DynamicArray<System::Byte> s);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.ZLib.pas System.ZLib.hpp |
System.ZLib | System.ZLib |
説明
ZDecompressStr は、圧縮された文字列を展開したものを返します。
ZDecompressStr は、s
で表されるソースのバイトの動的配列(TBytes)を展開し、その結果を文字列として返します。
ZDecompressStr は、EZDecompressionError を発生させる場合があります。
次のサンプルを参照してください:
function myDecompressStr(Source: TBytes): string;
begin
Result := ZDecompressStr(mySource);
end;