Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
59160706
Kaydet (Commit)
59160706
authored
Haz 19, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Somewhat updated, but not checked for everything (just the stuff I was using).
üst
251c9fc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
libzlib.tex
Doc/lib/libzlib.tex
+15
-14
No files found.
Doc/lib/libzlib.tex
Dosyayı görüntüle @
59160706
...
...
@@ -31,12 +31,12 @@ The available exception and functions in this module are:
\end{funcdesc}
\begin{funcdesc}
{
compress
}{
string
\optional
{
, level
}}
Compresses the data in
\var
{
string
}
, returning a string contained
compressed data.
\var
{
level
}
is an integer from
\code
{
1
}
to
\code
{
9
}
controlling the level of compression;
\code
{
1
}
is fastest and produces
the least compression,
\code
{
9
}
is slowest and produces the most. The
default value is
\code
{
6
}
. Raises the
\exception
{
error
}
exception if any error occurs.
Compresses the data in
\var
{
string
}
, returning a string contained
compressed data.
\var
{
level
}
is an integer from
\code
{
1
}
to
\code
{
9
}
controlling the level of compression;
\code
{
1
}
is fastest
and produces the least compression,
\code
{
9
}
is slowest and produces
the most. The default value is
\code
{
6
}
. Raises the
\exception
{
error
}
exception if any error occurs.
\end{funcdesc}
\begin{funcdesc}
{
compressobj
}{
\optional
{
level
}}
...
...
@@ -59,17 +59,18 @@ exception if any error occurs.
should not be used for authentication or digital signatures.
\end{funcdesc}
\begin{funcdesc}
{
decompress
}{
string
}
Decompresses the data in
\var
{
string
}
, returning a string containing
the uncompressed data. Raises the
\exception
{
error
}
exception if any
error occurs.
\begin{funcdesc}
{
decompress
}{
string
\optional
{
, wbits
\optional
{
, buffsize
}}}
Decompresses the data in
\var
{
string
}
, returning a string containing
the uncompressed data. The
\var
{
wbits
}
parameter controls the size of
the window buffer. If
\var
{
buffsize
}
is given, it is used as the
initial size of the output buffer. Raises the
\exception
{
error
}
exception if any error occurs.
\end{funcdesc}
\begin{funcdesc}
{
decompressobj
}{
\optional
{
wbits
}}
Returns a compression object, to be used for decompressing data streams
that won't fit into memory at once. The
\var
{
wbits
}
parameter
controls the size of the window buffer; usually this can be left
alone.
Returns a compression object, to be used for decompressing data
streams that won't fit into memory at once. The
\var
{
wbits
}
parameter controls the size of the window buffer.
\end{funcdesc}
Compression objects support the following methods:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment