MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / read_string

Method read_string

tools/webassembly.py:233–235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

231 return read_sleb(self.buf)
232
233 def read_string(self):
234 size = self.read_uleb()
235 return self.buf.read(size).decode('utf-8')
236
237 def read_limits(self):
238 flags = self.read_byte()

Callers 9

sectionsMethod · 0.95
parse_dylink_sectionMethod · 0.95
get_exportsMethod · 0.95
get_importsMethod · 0.95
get_function_namesMethod · 0.95
get_target_featuresMethod · 0.95
get_sourceMappingURLMethod · 0.95
read_name_sectionFunction · 0.80
is_wasm_dylibFunction · 0.80

Calls 2

read_ulebMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected