Pigsy-Monk commented on code in PR #3115:
URL: https://github.com/apache/fory/pull/3115#discussion_r2673253931


##########
java/fory-core/src/main/java/org/apache/fory/serializer/ArraySerializers.java:
##########
@@ -530,6 +537,23 @@ public long[] read(MemoryBuffer buffer) {
       }
       return values;
     }
+
+    private void writeInt64s(MemoryBuffer buffer, long[] value, LongEncoding 
longEncoding) {
+      int length = value.length;
+      buffer.writeVarUint32Small7(length);
+      for (int i = 0; i < length; i++) {
+        PrimitiveSerializers.LongSerializer.writeInt64(buffer, value[i], 
longEncoding);

Review Comment:
   I am not sure if I get you right. Do you mean something like this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to