| 29 | } |
| 30 | |
| 31 | Encode::DataCount::DataCount(const std::vector<WasmData>& datas) : Section((byte_t)0x0c){ |
| 32 | if(!datas.empty()){ |
| 33 | Encode::Section::Stream stream(buffer); |
| 34 | stream << (u32_t)datas.size(); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | Encode::Data::Data(const std::vector<WasmData>& datas) : Section((byte_t)0x0b){ |
| 39 | if(!datas.empty()){ |