MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / peekByte

Method peekByte

lib/loader/filemgr.cpp:355–359  ·  view source on GitHub ↗

Peek one byte. See "include/loader/filemgr.h".

Source from the content-addressed store, hash-verified

353
354// Peek one byte. See "include/loader/filemgr.h".
355Expect<Byte> FileMgr::peekByte() {
356 EXPECTED_TRY(Byte B, readByte());
357 Pos--;
358 return B;
359}
360
361// Get the file header type. See "include/loader/filemgr.h".
362FileMgr::FileHeader FileMgr::getHeaderType() {

Callers 3

loadRefTypeMethod · 0.80
loadValTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64