urlyy opened a new pull request, #2671: URL: https://github.com/apache/fory/pull/2671
## What does this PR do? 1. Use `read/write_xxx` style APIs for Buffer methods to align with Java API naming. 2. Add `fory_` prefix to `Serializer` and `StructSerializer` trait methods, to avoid name conflict in user struct when it implement other trait with same method name. 3. Organize the APIs on the trait with hierarchical naming `fory_read`,`fory_read_type_info`,`fory_read_data`. The same applies to the write API. Separate it from Fory’s `serialize`/`deserialize` methods. ## Related issues - #2658 ## Does this PR introduce any user-facing change? If users wan't to call methods on user-defined struct instance, they need to use methods whose prefix is `fory_`. -- 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]
