nervosnetwork / molecule

Another serialization system: minimalist and canonicalization.
MIT License
36 stars 23 forks source link

Support Primitive Integer Types in Molecule #57

Open doitian opened 2 years ago

doitian commented 2 years ago

Allow adding metadata about the primitive integer types so the language author can choose to support generating the corresponding interfaces.

For example, CKB uses a lot little-endian integers but they are just binaries in the molecule schema file. So every SDK to support CKB molecule structures must implement these integer fields manually.