I’m trying to do some email processing. It’s a quagmire of weird encoding types…
I find I have the requirement to write my own specific string encoding routines. It’d be really nice if I could just create my own Encoding objects to encapsulate this, so I can pass these into Bytes.ofString and Bytes.getString. However, it looks like an Encoding is a closed enum and all the actual encoding/decoding stuff is hidden away inside.
Can this be done? Or alternatively, are there any existing libraries that provide equivalent functionality?
Thanks!