Tipnos commented on issue #53:
URL: https://github.com/apache/avro-rs/issues/53#issuecomment-2490294235

   I had a look a the test you're added, it checks that it serializes 
successfully but doesn't check the payload content/size to validate that uuid 
is encoded as 16 bytes.
   
   I just hex dump the content of your test, the payload length is 47 bytes 
instead of 26.
   
   Why 26:
   - 2 bytes of Avro marker
   - 8 bytes of schema fingerprint
   - 16 bytes for the uuid
   
   In the actual 47 bytes, the UUID takes 37 bytes which is its number of 
characters.


-- 
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: issues-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to