MCPcopy Create free account
hub / github.com/mapbox/pbf / writeBoolean

Method writeBoolean

index.js:321–323  ·  view source on GitHub ↗

@param {boolean} val

(val)

Source from the content-addressed store, hash-verified

319
320 /** @param {boolean} val */
321 writeBoolean(val) {
322 this.writeVarint(+val);
323 }
324
325 /** @param {string} str */
326 writeString(str) {

Callers 2

writePackedBooleanFunction · 0.80
pbf.test.jsFile · 0.80

Calls 1

writeVarintMethod · 0.95

Tested by

no test coverage detected