class NoneCompress implements Compress {

    @Override
    public ByteBuf compressInput(Object proto, RpcMethodInfo rpcMethodInfo) throws IOException {
        byte[] bytes = rpcMethodInfo.inputEncode(proto);
        return Unpooled.wrappedBuffer(bytes);
    }

}