Commit graph

10 commits

Author SHA1 Message Date
Brian Carroll
7a1b5ecc99 Slightly reorganise serialize code 2021-11-02 20:35:29 +00:00
Brian Carroll
edadd4ce13 Temporary setup to gradually migrate sections from parity_wasm to our own module_builder
Previously we just had our own code section.
Now we also have export section, and a way of switching them over one by one,
running tests in between.
2021-11-02 12:46:15 +00:00
Brian Carroll
2a0dbb39fb Memory and Global sections 2021-11-01 12:30:44 +00:00
Brian Carroll
e05ef73f6c function section 2021-11-01 09:54:09 +00:00
Brian Carroll
d25b12328d Rename some SerialBuffer methods 2021-11-01 08:42:02 +00:00
Brian Carroll
7ad452d78a Types section 2021-11-01 08:34:34 +00:00
Brian Carroll
0ee482ae9e Fix string encoding. Tests pass. 2021-10-30 10:57:21 +01:00
Brian Carroll
2020e89db7 Create reserve_padded_u32, nice for readability 2021-10-28 22:44:33 +01:00
Brian Carroll
7841ef959a Serialize padded signed integers and refactor serialize module 2021-10-28 20:45:04 +01:00
Brian Carroll
82acf55d38 Create serializer module 2021-10-28 11:50:55 +01:00