...
int: in SCALE integers can be encoded as fixed-width integer and compact integer. Compact integer itself has 4 modes. So generally we have 5 ways to serde integer (1 fixed-width + 4 modes of compact integers)
Code Block language bash { "typedefinition": "int", "mode": "CompactTwoByte" //possible values FixedWidth, CompactSingleByte, CompactTwoByte, CompactFourByte, CompactBigInteger, }
- bool: no tricks here
Code Block language bash { "typedefinition": "bool" }
2. Built-in containers
...