AlkantarClanX12
Current Path : /opt/alt/python34/lib64/python3.4/encodings/__pycache__/ |
Current File : //opt/alt/python34/lib64/python3.4/encodings/__pycache__/uu_codec.cpython-34.pyo |
� j f� � @ s� d Z d d l Z d d l Z d d l m Z d d d d d � Z d d d � Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e e j � Z Gd d � d e e j � Z d d � Z d S)a Python 'uu_codec' Codec - UU content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were adapted from uu.py which was written by Lance Ellinghouse and modified by Jack Jansen and Fredrik Lundh. � N)�BytesIO�strictz<data>i� c C s� t | � } t � } | j } | j } | d | d @| f j d � � | d � } x) | r | t j | � � | d � } qW W| d � | j � t | � f S)Nzbegin %o %s i� �ascii�- s end )r �read�write�encode�binasciiZb2a_uu�getvalue�len) �input�errors�filename�mode�infile�outfiler r �chunk� r �7/opt/alt/python34/lib64/python3.4/encodings/uu_codec.py� uu_encode s ! r c C s7 t | � } t � } | j } | j } x<