aboutsummaryrefslogtreecommitdiff
path: root/java/README.txt
diff options
context:
space:
mode:
authorMax Cai <maxtroy@google.com>2013-11-13 18:21:28 +0000
committerMax Cai <maxtroy@google.com>2013-11-18 11:47:25 +0000
commitadf2449a6d64f6f2ab2ba2e07f3dded44185da38 (patch)
treee1fc15ea67d2053ec16049c53d034242e869fe7f /java/README.txt
parent190edd7ef6fc98d49f7556271fc9c0b4d8160456 (diff)
downloadprotobuf-adf2449a6d64f6f2ab2ba2e07f3dded44185da38.tar.gz
protobuf-adf2449a6d64f6f2ab2ba2e07f3dded44185da38.tar.bz2
protobuf-adf2449a6d64f6f2ab2ba2e07f3dded44185da38.zip
Align with main: two ways of parsing repeated packable fields.
It is a requirement for parsing code to handle packed and unpacked forms on the wire for repeated packable fields. This change aligns the javanano's behavior with the java's. Bonus: optimize array length calculation when parsing repeated fixed-size-element-type fields. Bonus 2: lose "xMemoizedSerializedSize" for repeated enum fields, and make the serialized size calculation match that for repeated int32 fields. Change-Id: I8a06103d9290234adb46b0971b5ed155544fe86a
Diffstat (limited to 'java/README.txt')
-rw-r--r--java/README.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/README.txt b/java/README.txt
index 3a004c7e..976ec842 100644
--- a/java/README.txt
+++ b/java/README.txt
@@ -429,6 +429,7 @@ Except:
- Similar rename from CodedOutputStreamMicro to
CodedOutputByteBufferNano.
- Repeated fields are in arrays, not ArrayList or Vector.
+- Full support of serializing/deserializing repeated packed fields.
- Unset messages/groups are null, not an immutable empty default
instance.
- Required fields are always serialized.