mercurial/pure/base85.py
branchstable
changeset 10263 25e572394f5c
parent 9029 0001e49f1c11
child 10282 08a0f04b56bd
equal deleted inserted replaced
10262:eb243551cbd8 10263:25e572394f5c
     1 # base85.py: pure python base85 codec
     1 # base85.py: pure python base85 codec
     2 #
     2 #
     3 # Copyright (C) 2009 Brendan Cully <brendan@kublai.com>
     3 # Copyright (C) 2009 Brendan Cully <brendan@kublai.com>
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2, incorporated herein by reference.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 import struct
     8 import struct
     9 
     9 
    10 _b85chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
    10 _b85chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
    11             "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"
    11             "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"