MCPcopy Index your code
hub / github.com/bcoin-org/bcoin / getString

Method getString

lib/script/script.js:2772–2775  ·  view source on GitHub ↗
(index, enc)

Source from the content-addressed store, hash-verified

2770 */
2771
2772 getString(index, enc) {
2773 const op = this.get(index);
2774 return op ? op.toString(enc) : null;
2775 }
2776
2777 popString(enc) {
2778 const op = this.pop();

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected