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

Method get

projects/JavaScript/proto/fbe.js:1226–1232  ·  view source on GitHub ↗

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

(defaults = '\0')

Source from the content-addressed store, hash-verified

1224 * @returns {!string} Result value
1225 */
1226 get (defaults = '\0') {
1227 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1228 return defaults
1229 }
1230
1231 return this.readChar(this.fbeOffset)
1232 }
1233
1234 /**
1235 * Set the value

Callers

nothing calls this directly

Calls 1

readCharMethod · 0.45

Tested by

no test coverage detected