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

Method get

projects/JavaScript/proto/fbe.js:1270–1276  ·  view source on GitHub ↗

* Get the value * @this {!FieldModelWChar} * @param {string=} defaults Default value, defaults is '\0' * @returns {!string} Result value

(defaults = '\0')

Source from the content-addressed store, hash-verified

1268 * @returns {!string} Result value
1269 */
1270 get (defaults = '\0') {
1271 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1272 return defaults
1273 }
1274
1275 return this.readWChar(this.fbeOffset)
1276 }
1277
1278 /**
1279 * Set the value

Callers

nothing calls this directly

Calls 1

readWCharMethod · 0.45

Tested by

no test coverage detected