So I am working on a solution where I need any given data type to be broken into a 13 bit encoding I am able to work with everything else except string.
So Steps as I look to code this.
Convert String to byte array
Collect first byte in a short with bit shift of byte to 13
Bit shift next byte with 5 and or it with short to get first short
This is getting cumbersome to iterate I think the approach is all wrong. Can I get a possible solution?