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

Method location

src/lib/decode/decode.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62size_t Decode::Stream::location(){
63 auto loc = istream.tellg();
64 if(loc == -1){
65 istream.seekg(0, std::ios_base::end);
66 loc = istream.tellg();
67 istream.seekg(-1);
68 }
69 return loc;
70}
71
72Stream& Decode::operator>>(Stream& stream, Decode::Section&& section){
73 byte_t id_val = stream.peek();

Callers 8

data.cppFile · 0.45
export.cppFile · 0.45
type.cppFile · 0.45
instr.cppFile · 0.45
elem.cppFile · 0.45
global.cppFile · 0.45
import.cppFile · 0.45
func.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected