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

Method fromObject

projects/JavaScript/proto/test.js:2107–2109  ·  view source on GitHub ↗

* Create struct from object value * @param {!StructSimple} other Object value * @returns {!StructSimple} Created struct

(other)

Source from the content-addressed store, hash-verified

2105 * @returns {!StructSimple} Created struct
2106 */
2107 static fromObject (other) {
2108 return new StructSimple().copy(other)
2109 }
2110
2111 /**
2112 * Get the FBE type

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected