utafrali opened a new pull request, #3570:
URL: https://github.com/apache/fory/pull/3570

   ## Contribution Checklist
   - [x] PR title follows Conventional Commits
   - [x] Performance benchmarks included if applicable
   
   ## Why?
   Fixes #3506
   
   Rust and Python had a mismatch in how they serialize list lengths for 
fixed-size primitive types. Python was writing element count, but Rust expects 
byte length. This broke deserialization when reading INT16, INT32, or FLOAT64 
lists.
   
   ## What does this PR do?
   Added a helper function to identify types that need byte-length encoding 
(INT16, INT32, FLOAT64) and updated the serialization logic to write byte count 
instead of element count for fixed-size types without nulls.
   
   ## Related issues
   Closes #3506
   
   ## User-facing changes
   N/A
   
   ## Benchmark
   N/A


-- 
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