Current Path : /usr/local/lib/python2.5/encodings/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/encodings/zlib_codec.pyo |
³ò h”Rc @ sÆ d Z d d k Z d d k Z d d „ Z d d „ Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e e i f d „ ƒ YZ d e e i f d „ ƒ YZ d „ Z d S( sö Python 'zlib_codec' Codec - zlib compression encoding Unlike most of the other codecs which target Unicode, this codec will return Python string objects for both encode and decode. Written by Marc-Andre Lemburg (mal@lemburg.com). iÿÿÿÿNt strictc C s t i | ƒ } | t | ƒ f S( s Encodes the object input and returns a tuple (output object, length consumed). errors defines the error handling to apply. It defaults to 'strict' handling which is the only currently supported error handling for this codec. ( t zlibt compresst len( t inputt errorst output( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt zlib_encode s c C s t i | ƒ } | t | ƒ f S( sË Decodes the object input and returns a tuple (output object, length consumed). input must be an object which provides the bf_getreadbuf buffer slot. Python strings, buffer objects and memory mapped files are examples of objects providing this slot. errors defines the error handling to apply. It defaults to 'strict' handling which is the only currently supported error handling for this codec. ( R t decompressR ( R R R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt zlib_decode s t Codecc B s e Z d d „ Z d d „ Z RS( R c C s t | | ƒ S( N( R ( t selfR R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt encode0 s c C s t | | ƒ S( N( R ( R R R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt decode2 s ( t __name__t __module__R R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR . s t IncrementalEncoderc B s) e Z d d „ Z e d „ Z d „ Z RS( R c C s | | _ t i ƒ | _ d S( N( R R t compressobj( R R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt __init__6 s c C sB | o' | i i | ƒ } | | i i ƒ Sn | i i | ƒ Sd S( N( R R t flush( R R t finalt c( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR ; s c C s t i ƒ | _ d S( N( R R ( R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt resetB s ( R R R t FalseR R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR 5 s t IncrementalDecoderc B s) e Z d d „ Z e d „ Z d „ Z RS( R c C s | | _ t i ƒ | _ d S( N( R R t decompressobj( R R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR F s c C sB | o' | i i | ƒ } | | i i ƒ Sn | i i | ƒ Sd S( N( R R R ( R R R R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR K s c C s t i ƒ | _ d S( N( R R ( R ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR R s ( R R R R R R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR E s t StreamWriterc B s e Z RS( ( R R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR U s t StreamReaderc B s e Z RS( ( R R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyR X s c C s4 t i d d d t d t d t d t d t d t ƒ S( Nt nameR R R t incrementalencodert incrementaldecodert streamreadert streamwriter( t codecst CodecInfoR R R R R R ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pyt getregentry] s ( t __doc__R! R R R R R R R R R# ( ( ( s0 /usr/local/lib/python2.5/encodings/zlib_codec.pys <module> s