Prusa Block & Binary G-code reader/writer/converter. libbgcode provides three API: core, binarize and convert.