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

Method writeWChar

projects/JavaScript/proto/fbe.js:879–882  ·  view source on GitHub ↗

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

(offset, value)

Source from the content-addressed store, hash-verified

877 * @param {!string} value Wide char value
878 */
879 writeWChar (offset, value) {
880 let code = value.charCodeAt(0)
881 this.writeUInt32(offset, code)
882 }
883
884 /**
885 * Write Int8 value into the field model buffer

Callers 2

setMethod · 0.80
setMethod · 0.80

Calls 1

writeUInt32Method · 0.95

Tested by

no test coverage detected