MCPcopy Create free account
hub / github.com/WasmVM/WasmVM / DataCount

Method DataCount

src/lib/encode/data.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31Encode::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
38Encode::Data::Data(const std::vector<WasmData>& datas) : Section((byte_t)0x0b){
39 if(!datas.empty()){

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected