BaldDemian commented on issue #3484: URL: https://github.com/apache/fory/issues/3484#issuecomment-4064825938
I created two files in my fork to illustrate the above scenario with an ene-to-end Fory usage. To reproduce: 1. `git clone [email protected]:BaldDemian/fory.git` 2. `git checkout negative-durarion` 3. `cd examples/java` 4. `mvn -q compile exec:java -Dexec.mainClass=NegativeDurationDemo` 5. `cd ../../rust` 6. `cargo run -p fory --example deserialize_duration` The Java file simply encodes a `Duration.ofSeconds(-1)` using Fory's xlang protocol, flush the bytes to a temp file; then the Rust file reads the bytes from the same file, decodes them, and prints the obtained `std::time::Duration`. -- 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]
