This code originated from Rust library https://github.com/the6p4c/catteprinter
Cat Printers - common name for cheap BLE thermal printers.
More read in original research article https://werwolv.net/blog/cat_printer by WerWolv
Right now there is no nuget package.
See CatPrint.Net.Demo
project