23 Commits

Author SHA1 Message Date
Volker Berlin
fbc687ee92 Use ref types alps in globals 2019-04-27 21:14:55 +02:00
Volker Berlin
b08a986945 Write the "this" parameter type of a method as ref type instead of anyref. 2019-04-24 21:41:33 +02:00
Volker Berlin
82bf9f7eea generalize the size() implementation 2019-03-31 12:25:10 +02:00
Volker Berlin
1376af2f3f Rename StorageType to AnyType. 2019-01-14 20:09:00 +01:00
Volker Berlin
f5e5d11af7 Add interface StorageType for struct support 2018-12-04 21:06:41 +01:00
Volker Berlin
ae08d21281 reorganize 2018-12-03 21:09:22 +01:00
Volker Berlin
c2c872024b write ValueType codes in signed LEB format 2018-12-03 20:52:01 +01:00
Volker Berlin
fe1e15ee30 add method writeValueType to the WasmStream 2018-12-02 18:17:27 +01:00
Volker Berlin
8e8489ee77 Write function names for debugging 2018-10-13 15:29:34 +02:00
Volker Berlin
3c2ec0f516 add writeString() 2018-10-09 22:33:14 +02:00
Volker Berlin
df7cb74bcc Refactor the writing of sections more object oriented. 2018-10-07 21:20:14 +02:00
Volker
3e9c26f198 Add writeOpCode(int) for simpler handling of 2 byte opcodes 2018-08-11 16:18:01 +02:00
Volker Berlin
33c1b028b5 use UTF8 encoding for section names 2017-04-17 10:25:35 +02:00
Volker Berlin
cd2c51fc0a use little endian for floating number 2017-04-09 12:41:47 +02:00
Volker Berlin
20ddb355a9 add writeFloat() and writeDouble() 2017-04-09 11:56:22 +02:00
Volker Berlin
92a878b5bf add support for long const 2017-04-08 18:48:45 +02:00
Volker Berlin
a5eee6aa7d Add method reset() 2017-03-26 11:46:46 +02:00
Volker Berlin
527f3d2bc7 Prevent endless loop in error case. 2017-03-26 11:41:21 +02:00
Volker Berlin
43cb89f546 add size() method 2017-03-26 11:39:06 +02:00
Volker Berlin
e9e7d1aecc add method writeTo() 2017-03-24 22:24:56 +01:00
Volker Berlin
984cfb2bc5 Does not write an empty section 2017-03-24 22:14:33 +01:00
Volker Berlin
afaaf7a555 extends from FilterOutputStream to wrap passing stream. 2017-03-24 18:07:20 +01:00
Volker Berlin
6693aa0f95 Initial binary module writer 2017-03-23 22:20:44 +01:00