This PR introduces ReadBytes, a method for efficiently reading packet payloads in minecraft/conn.go. This improvement is particularly useful for scenarios like proxies that forward data directly, where it eliminates unnecessary packet decoding overhead.
This PR introduces
ReadBytes
, a method for efficiently reading packet payloads inminecraft/conn.go
. This improvement is particularly useful for scenarios like proxies that forward data directly, where it eliminates unnecessary packet decoding overhead.