mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-25 20:23:22 +00:00

There's too many issues here around object pooling and reference counting, that it's just not practical to correctly handle. We now just use a plain old byte[] rather than a ByteBuf. This does mean the array now lives on the Java heap rather than the direct heap, but I *think* that's fine. It's something that is hard to measure. Fixes #2059