base255 module

base255 strings.

You can think of them as a string representation of a number (serialized), and also as a null-terminatable number without any practical limit on how large a number it can store

base255.base255_to_number(base255)[source]

Convert a base255 string back to a number.

base255.number_to_base255(number)[source]

Convert a number to a base255 string.