Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
§
àÀfÝ3 ã ó´ — d Z g d¢ZddlZddlZddlZddlT ddlmZmZ ddlZdZ dZ
dZ G d„ d ej ¦ « Z
dddddddddœd
„Zedddfd„Zeddfd„ZdS )aS Interface to the liblzma compression library.
This module provides a class for reading and writing compressed files,
classes for incremental (de)compression, and convenience functions for
one-shot (de)compression.
These classes and functions support both the XZ and legacy LZMA
container formats, as well as raw compressed data streams.
)$Ú
CHECK_NONEÚCHECK_CRC32ÚCHECK_CRC64ÚCHECK_SHA256ÚCHECK_ID_MAXÚ
CHECK_UNKNOWNÚFILTER_LZMA1ÚFILTER_LZMA2ÚFILTER_DELTAÚ
FILTER_X86ÚFILTER_IA64Ú
FILTER_ARMÚFILTER_ARMTHUMBÚFILTER_POWERPCÚFILTER_SPARCÚFORMAT_AUTOÚ FORMAT_XZÚFORMAT_ALONEÚ
FORMAT_RAWÚMF_HC3ÚMF_HC4ÚMF_BT2ÚMF_BT3ÚMF_BT4Ú MODE_FASTÚMODE_NORMALÚPRESET_DEFAULTÚPRESET_EXTREMEÚLZMACompressorÚLZMADecompressorÚLZMAFileÚ LZMAErrorÚopenÚcompressÚ
decompressÚis_check_supportedé N)Ú*)Ú_encode_filter_propertiesÚ_decode_filter_propertiesé é c óš — e Zd ZdZddddddœd„Zd„ Zed„ ¦ « Zd „ Zd
„ Z d„ Z
d„ Zdd
„Zdd„Z
dd„Zdd„Zd„ Zej fd„Zd„ ZdS )r a@ A file object providing transparent LZMA (de)compression.
An LZMAFile can act as a wrapper for an existing file object, or
refer directly to a named file on disk.
Note that LZMAFile provides a *binary* file interface - data read
is returned as bytes, and data to be written must be given as bytes.
NÚréÿÿÿÿ©ÚformatÚcheckÚpresetÚfiltersc ó0 — d| _ d| _ t | _ |dv r7|dk rt d¦ « ‚|�t d¦ « ‚|€t
}t }nV|dv r0|€t }t }t ||||¬¦ « | _
d | _ n"t d
|¦ « ¦ « ‚t |t t t j f¦ « r2d|vr|dz
}t% j ||¦ « | _ d| _ || _ n>t) |d
¦ « st) |d¦ « r|| _ || _ nt+ d¦ « ‚| j t k rCt- j | j t0 t2 ||¬¦ « }t5 j |¦ « | _ dS dS )aø Open an LZMA-compressed file in binary mode.
filename can be either an actual file name (given as a str,
bytes, or PathLike object), in which case the named file is
opened, or it can be an existing file object to read from or
write to.
mode can be "r" for reading (default), "w" for (over)writing,
"x" for creating exclusively, or "a" for appending. These can
equivalently be given as "rb", "wb", "xb" and "ab" respectively.
format specifies the container format to use for the file.
If mode is "r", this defaults to FORMAT_AUTO. Otherwise, the
default is FORMAT_XZ.
check specifies the integrity check to use. This argument can
only be used when opening a file for writing. For FORMAT_XZ,
the default is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not
support integrity checks - for these formats, check must be
omitted, or be CHECK_NONE.
When opening a file for reading, the *preset* argument is not
meaningful, and should be omitted. The *filters* argument should
also be omitted, except when format is FORMAT_RAW (in which case
it is required).
When opening a file for writing, the settings used by the
compressor can be specified either as a preset compression
level (with the *preset* argument), or in detail as a custom
filter chain (with the *filters* argument). For FORMAT_XZ and
FORMAT_ALONE, the default is to use the PRESET_DEFAULT preset
level. For FORMAT_RAW, the caller must always specify a filter
chain; the raw compressor does not support preset compression
levels.
preset (if provided) should be an integer in the range 0-9,
optionally OR-ed with the constant PRESET_EXTREME.
filters (if provided) should be a sequence of dicts. Each dict
should have an entry for "id" indicating ID of the filter, plus
additional entries for options to the filter.
NF)r- Úrbr. zACannot specify an integrity check when opening a file for readingzICannot specify a preset compression level when opening a file for reading)ÚwÚwbÚaÚabÚxÚxbr/ r&