zwl
2025-07-02 4282d15a5e69a6b4c822c87d27a1ed6e7e618f00
src/main/java/com/zy/core/netty/handle/ProtocolEncoder.java
@@ -27,7 +27,7 @@
    @Override
    protected void encode(ChannelHandlerContext ctx, Object obj, ByteBuf out) {
        boolean upgradeLog = true;
        if (obj instanceof ByteBuf){
        if (obj instanceof ByteBuf) {
            out.writeBytes((ByteBuf) obj);
        } else if (obj instanceof byte[]) {
            out.writeBytes((byte[]) obj);