Make base-55 encoding & decoding match
Changed "U"'s encoding to -210, so now when the README claims "U = -210", it's actually accurate :)
This commit is contained in:
parent
585bf2e19f
commit
099b9e23d6
|
@ -5,7 +5,7 @@ pub fn char2num(character: char) -> i32 {
|
||||||
'X' => -24,
|
'X' => -24,
|
||||||
'W' => -23,
|
'W' => -23,
|
||||||
'V' => -22,
|
'V' => -22,
|
||||||
'U' => -21,
|
'U' => -210,
|
||||||
'T' => -20,
|
'T' => -20,
|
||||||
'R' => -18,
|
'R' => -18,
|
||||||
'S' => -19,
|
'S' => -19,
|
||||||
|
|
Loading…
Reference in a new issue