cvs: phpdoc-pl /reference/bzip2/functions bzread.xml
| From: | Leszek Krupinski | Date: | Mon, 17 Nov 2003 02:02:00 +0000 |
| Subject: | cvs: phpdoc-pl /reference/bzip2/functions bzread.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-226@lists.php.net to get a copy of this message | ||
leszek Sun Nov 16 21:02:00 2003 EDT
Added files:
/phpdoc-pl/reference/bzip2/functions bzread.xml
Log:
Index: phpdoc-pl/reference/bzip2/functions/bzread.xml
+++ phpdoc-pl/reference/bzip2/functions/bzread.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
<refentry id="function.bzread">
<refnamediv>
<refname>bzread</refname>
<refpurpose>Binarnie bezpieczny odczyt pliku bzip2</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
<methodsynopsis>
<type>string</type><methodname>bzread</methodname>
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>d³ugo¶æ</parameter></methodparam>
</methodsynopsis>
<para>
<function>bzread</function> zwraca odczytany z pliku
<parameter>bz</parameter>)
³añcuch znaków o d³ugo¶ci podanej w parametrze <parameter>d³ugo¶æ</parameter>.
Je¿eli <parameter>d³ugo¶æ</parameter> nie zostanie podana,
<function>bzread</function> odczyta 1024 (nieskompresowane) znaki z pliku.
</para>
<para>
<example>
<title>Odczyt 2048 znaków przy u¿yciu
<function>bzread</function></title>
<programlisting role="php">
<![CDATA[
<?php
$bz = bzopen("/tmp/foo.bz2", "r");
$str = bzread($bz, 2048);
print( $str );
?>
]]>
</programlisting>
</example>
</para>
<para>
Patrz tak¿e <function>bzwrite</function> i
<function>bzopen</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->