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

Method Memory

src/lib/encode/memory.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using namespace Encode;
10
11Encode::Memory::Memory(const std::vector<MemType>& mems) : Section((byte_t)0x05){
12 if(!mems.empty()){
13 Encode::Section::Stream stream(buffer);
14 stream << mems;
15 }
16}

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected