Index: third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java |
diff --git a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java |
index 6a58b0811b48222a474ef6e8cc00bd3b59b3677b..0b0cdb7d0e24040127b4f9b5fa20aa25a9bc6f6a 100644 |
--- a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java |
+++ b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java |
@@ -47,6 +47,10 @@ public final class WireFormat { |
// Do not allow instantiation. |
private WireFormat() {} |
+ static final int FIXED_32_SIZE = 4; |
+ static final int FIXED_64_SIZE = 8; |
+ static final int MAX_VARINT_SIZE = 10; |
+ |
public static final int WIRETYPE_VARINT = 0; |
public static final int WIRETYPE_FIXED64 = 1; |
public static final int WIRETYPE_LENGTH_DELIMITED = 2; |