Administrator
2025-06-08 b72527e67cc2000742824ba400448d81416cb548
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);