{"id":15,"date":"2009-05-12T16:36:48","date_gmt":"2009-05-12T14:36:48","guid":{"rendered":"https:\/\/www.livediesel.de\/?page_id=15"},"modified":"2010-12-31T13:57:40","modified_gmt":"2010-12-31T11:57:40","slug":"delphi","status":"publish","type":"page","link":"https:\/\/www.livediesel.de\/?page_id=15","title":{"rendered":"Delphi"},"content":{"rendered":"<p><strong>Konvertierung eines PWideChar zu einem String<\/strong><\/p>\n<pre lang=\"delphi\">\r\nfunction PWideCharToString(pwch:PWideChar;count:integer):string;\r\nbegin\r\n\u00a0result:='';\r\n\u00a0for count:=count downto 1 do\r\n\u00a0 begin\r\n\u00a0\u00a0 result:=result+pwch^;\r\n\u00a0\u00a0 inc(pwch);\r\n\u00a0 end;\r\nend;<\/pre>\n<p><strong>unlzw.pas<\/strong><\/p>\n<p>This file has been ported from gZIP v 1.24:<br \/>\n&#8222;unlzw.c&#8220; v 0.15 1993\/06\/10 13:28:35 filesize = 9217.<br \/>\nThis Unit implements the original LZW (Lempel-Ziv-Welch) Decompression Algorithm.<br \/>\nDescription:<br \/>\nfunction unlzw(inStr,outStr:TStream): boolean;<br \/>\n&#8211; Decompress a Stream to a Stream<br \/>\nfunction unlzwFile(srcFile,dstFile:String): boolean;<br \/>\n&#8211; Decompress a File to a File<\/p>\n<p><a href=\"https:\/\/www.livediesel.de\/wp-content\/uploads\/2009\/05\/lzwUnit.zip\">lzwUnit.pas<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Konvertierung eines PWideChar zu einem String function PWideCharToString(pwch:PWideChar;count:integer):string; begin \u00a0result:=&#8220;; \u00a0for count:=count downto 1 do \u00a0 begin \u00a0\u00a0 result:=result+pwch^; \u00a0\u00a0 inc(pwch); \u00a0 end; end; unlzw.pas This file has been ported from gZIP v 1.24: &#8222;unlzw.c&#8220; v 0.15 1993\/06\/10 13:28:35 filesize = 9217. This Unit implements the original LZW (Lempel-Ziv-Welch) Decompression Algorithm. Description: function unlzw(inStr,outStr:TStream): boolean; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":184,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-15","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/pages\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.livediesel.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":11,"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/pages\/15\/revisions\/285"}],"up":[{"embeddable":true,"href":"https:\/\/www.livediesel.de\/index.php?rest_route=\/wp\/v2\/pages\/184"}],"wp:attachment":[{"href":"https:\/\/www.livediesel.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}