System.ZLib.ZDecompressStr

提供: RAD Studio API Documentation
移動先: 案内検索

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;

関連項目