lz77

Decoding Z64 (ZB64) string

邮差的信 提交于 2020-07-03 17:03:13
问题 I'm working on breaking down ZPL label definitions generated by NiceLabel label making software. For the most part I don't have to worry about decoding the Z64 because it is just encoded graphics and I don't need to change the underlying data. However I have a line of text that is used as a graphic by the label for some reason probably due to Font's or something. Anyways, the Z64 or ZB64 string is created by compressing the original data using LZ77 and encoding that as Base64 and then