What’s the pattern for manipulating binary bits in VL?
I’m working on implementing a protocol (STUN) that has requirements like 12 bit values stuck next to 2 bit flags and similar.
In terms of patching this I’m looking for usability over performance. I.E not bitwise maths adding chars together etc.
Fpr example ToString (Binary Byte) with the leading zeroes is a great way to see what’s going on with the bits. Any way to do the opposite of this? Then I could assemble my binary payload as a string which is not great performance but very easy conceptually. Or how would you do it?