Missing pack and unpack functions for manipulating binary data
The pack and unpack functions for manipulating binary data are missing: they are extremely useful for a number of reasons, please consider implementing them.
These functions are quite difficult to implement, because they have an intricate format for passing parameters, but they can still be implemented. It's necessary to spend a lot of time on this. It's sad that this functionality in PHP has such an ugly and confusing API compared to other languages.
I have worked a lot with this function, I assume I can help out with that
It would be cool. I can advise using the DataInputStream and DataOutputStream classes (https://www.boraji.com/java-datainputstream-and-dataoutputstream-example).
You will also need binary strings, for this use the BinaryMemory class.