MCPcopy Index your code
hub / github.com/nodejs/node / bytecode_from_string

Method bytecode_from_string

tools/inspector_protocol/jinja2/bccache.py:106–108  ·  view source on GitHub ↗

Load bytecode from a string.

(self, string)

Source from the content-addressed store, hash-verified

104 marshal_dump(self.code, f)
105
106 def bytecode_from_string(self, string):
107 """Load bytecode from a string."""
108 self.load_bytecode(BytesIO(string))
109
110 def bytecode_to_string(self):
111 """Return the bytecode as string."""

Callers 1

load_bytecodeMethod · 0.45

Calls 1

load_bytecodeMethod · 0.95

Tested by

no test coverage detected