diff --git a/src/org/redkale/convert/ConvertType.java b/src/org/redkale/convert/ConvertType.java index 2f8cf7ee7..a27844808 100644 --- a/src/org/redkale/convert/ConvertType.java +++ b/src/org/redkale/convert/ConvertType.java @@ -17,8 +17,9 @@ public enum ConvertType { JSON(1), BSON(2), - DIY(64), - ALL(127); + PBUF(64), //protobuf + DIY(256), + ALL(1023); private final int value; @@ -30,4 +31,5 @@ public enum ConvertType { if (type == null) return false; return this.value >= type.value && (this.value & type.value) > 0; } + }