MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / constructor

Method constructor

projects/JavaScript/proto/protoex.js:2039–2043  ·  view source on GitHub ↗

* Initialize struct * @param {!proto.Balance=} parent * @param {!number=} locked * @constructor

(parent = new proto.Balance(), arglocked = 0.0)

Source from the content-addressed store, hash-verified

2037 * @constructor
2038 */
2039 constructor (parent = new proto.Balance(), arglocked = 0.0) {
2040 super()
2041 super.copy(parent)
2042 this.locked = arglocked
2043 }
2044
2045 /**
2046 * Copy struct (shallow copy)

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected