• File: bz2_codec.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/opt/alt/python37/lib64/python3.7/encodings/__pycache__/bz2_codec.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 2.81 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~d@sddlZddlZdddZdddZGdddejZGd	d
d
ejZGdddejZGd
ddeejZGdddeejZddZ	dS)NstrictcCst|t|fS)N)bz2compresslen)inputerrorsr8/opt/alt/python37/lib64/python3.7/encodings/bz2_codec.py
bz2_encodesr
cCst|t|fS)N)r
decompressr)rrrrr	
bz2_decodesrc@s eZdZdddZdddZdS)	CodecrcCs
t||S)N)r
)selfrrrrr	encodeszCodec.encodecCs
t||S)N)r)rrrrrr	decodeszCodec.decodeN)r)r)__name__
__module____qualname__rrrrrr	r
s
r
c@s(eZdZd
ddZdddZddZd	S)IncrementalEncoderrcCs||_t|_dS)N)rr
BZ2Compressorcompressobj)rrrrr	__init__szIncrementalEncoder.__init__FcCs.|r|j|}||jS|j|SdS)N)rrflush)rrfinalcrrr	r#szIncrementalEncoder.encodecCst|_dS)N)rrr)rrrr	reset*szIncrementalEncoder.resetN)r)F)rrrrrrrrrr	rs

rc@s(eZdZd
ddZdddZddZd	S)IncrementalDecoderrcCs||_t|_dS)N)rrBZ2Decompressor
decompressobj)rrrrr	r.szIncrementalDecoder.__init__FcCs&y|j|Stk
r dSXdS)N)rrEOFError)rrrrrr	r3szIncrementalDecoder.decodecCst|_dS)N)rrr)rrrr	r9szIncrementalDecoder.resetN)r)F)rrrrrrrrrr	r-s

rc@seZdZeZdS)StreamWriterN)rrrbytescharbuffertyperrrr	r!<sr!c@seZdZeZdS)StreamReaderN)rrrr"r#rrrr	r$?sr$c
CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoderstreamwriterstreamreader_is_text_encoding)codecs	CodecInfor
rrrr!r$rrrr	getregentryDsr-)r)r)
r+rr
rr
rrr!r$r-rrrr	<module>
s