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

Method writeBooleanField

index.js:548–550  ·  view source on GitHub ↗

* @param {number} tag * @param {boolean} val

(tag, val)

Source from the content-addressed store, hash-verified

546 * @param {boolean} val
547 */
548 writeBooleanField(tag, val) {
549 this.writeVarintField(tag, +val);
550 }
551}
552
553/**

Callers 7

pbf.test.jsFile · 0.80
writeEnvelopeFunction · 0.80
writeEnvelopeFunction · 0.80
writeTypeStringFunction · 0.80
writeTypeNotStringFunction · 0.80
writeEnvelopeFunction · 0.80
writeTileValueFunction · 0.80

Calls 1

writeVarintFieldMethod · 0.95

Tested by

no test coverage detected