Low-level toolkit to perform encoding conversions
