LiangliangSui commented on code in PR #2979: URL: https://github.com/apache/fory/pull/2979#discussion_r2587404355
########## docs/specification/xlang_serialization_spec.md: ########## @@ -164,51 +228,165 @@ Fory will write the byte order for that object into the data instead of converti ## Fory header -Fory header consists starts one byte: +Fory header format for xlang serialization: + +``` +| 2 bytes | 1 byte bitmap | 1 byte | optional 4 bytes | ++--------------+--------------------------------+------------+------------------------------------+ +| magic number | 4 bits reserved | oob | xlang | endian | null | language | unsigned int for meta start offset | Review Comment: <img width="1116" height="215" alt="image" src="https://github.com/user-attachments/assets/dd8031bf-f9b1-4c77-9b8d-b178a2011d91" /> This format is unaligned. -- 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]
