proc decode[T: SomeInteger](_: typedesc[T]; inp: string): T
proc encode[T: SomeInteger](_: typedesc[T]; number: T; length: int = -1): string