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

Method fromObject

projects/JavaScript/proto/test.js:12727–12729  ·  view source on GitHub ↗

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

(other)

Source from the content-addressed store, hash-verified

12725 * @returns {!StructBytes} Created struct
12726 */
12727 static fromObject (other) {
12728 return new StructBytes().copy(other)
12729 }
12730
12731 /**
12732 * Get the FBE type

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected