A simple ByteBuffer implementation for PHP (Node.js inspired)
composer require labalityowo/bytebuffer:dev-stable
I made this while coding a genshin impact private server. Therefore the top priority isn't performance, create a pull request if you have any changes that may increase the code performance.
Enjoy it as much as I did when writing this. :)
PHP > 8.1