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
f07c328c
Kaydet (Commit)
f07c328c
authored
Ara 31, 1998
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the optional mode argument (Z_FLUSH, Z_SYNC_FLUSH, etc.)
to the flush() method of compressor objects.
üst
c0ef565c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
libzlib.tex
Doc/lib/libzlib.tex
+11
-4
No files found.
Doc/lib/libzlib.tex
Dosyayı görüntüle @
f07c328c
...
@@ -87,11 +87,18 @@ concatenated to the output produced by any preceding calls to the
...
@@ -87,11 +87,18 @@ concatenated to the output produced by any preceding calls to the
for later processing.
for later processing.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[Compress]
{
flush
}{}
\begin{methoddesc}
[Compress]
{
flush
}{
\optional
{
mode
}}
All pending input is processed, and an string containing the remaining
All pending input is processed, and a string containing the remaining
compressed output is returned. After calling
\method
{
flush()
}
, the
compressed output is returned.
\var
{
mode
}
can be selected from the
constants
\constant
{
Z
_
SYNC
_
FLUSH
}
,
\constant
{
Z
_
FULL
_
FLUSH
}
, or
\constant
{
Z
_
FINISH
}
, defaulting to
\constant
{
Z
_
FINISH
}
.
\constant
{
Z
_
SYNC
_
FLUSH
}
and
\constant
{
Z
_
FULL
_
FLUSH
}
allow compressing further strings of data and
are used to allow partial error recovery on decompression, while
\constant
{
Z
_
FINISH
}
finishes the compressed stream and
prevents compressing any more data. After calling
\method
{
flush()
}
with
\var
{
mode
}
set to
\constant
{
Z
_
FINISH
}
, the
\method
{
compress()
}
method cannot be called again; the only realistic
\method
{
compress()
}
method cannot be called again; the only realistic
action is to delete the object.
action is to delete the object.
\end{methoddesc}
\end{methoddesc}
Decompression objects support the following methods:
Decompression 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