chaokunyang commented on code in PR #3254:
URL: https://github.com/apache/fory/pull/3254#discussion_r2758580241
##########
java/fory-core/src/main/java/org/apache/fory/serializer/ArraySerializers.java:
##########
@@ -881,6 +881,52 @@ private void readFloat64BySwapEndian(MemoryBuffer buffer,
double[] values, int n
}
}
+ public static final class Float16ArraySerializer
+ extends PrimitiveArraySerializer<org.apache.fory.type.Float16[]> {
Review Comment:
Could you also implement `Float16List` under `org.apache.fory.collection`
package just like we did for `Uint16List`?
And use `short[]` as storage in `Float16List`
--
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]