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

Method readWChar

projects/JavaScript/proto/fbe.js:640–643  ·  view source on GitHub ↗

* Read wide char value from the field model buffer * @this {!FieldModelBase} * @param {!number} offset Offset * @returns {!string} Wide char value

(offset)

Source from the content-addressed store, hash-verified

638 * @returns {!string} Wide char value
639 */
640 readWChar (offset) {
641 let code = this.readUInt32(offset)
642 return String.fromCharCode(code)
643 }
644
645 /**
646 * Read Int8 value from the field model buffer

Callers 2

getMethod · 0.45
getMethod · 0.45

Calls 1

readUInt32Method · 0.95

Tested by

no test coverage detected