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

Method encode

lib/script/scriptnum.js:175–177  ·  view source on GitHub ↗

* Serialize script number. * @returns {Buffer}

()

Source from the content-addressed store, hash-verified

173 */
174
175 encode() {
176 return this.toRaw();
177 }
178
179 /**
180 * Decode and verify script number.

Callers 2

fromNumMethod · 0.45
fromNumMethod · 0.45

Calls 1

toRawMethod · 0.95

Tested by

no test coverage detected