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

Method writeSVarintField

index.js:516–519  ·  view source on GitHub ↗

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

(tag, val)

Source from the content-addressed store, hash-verified

514 * @param {number} val
515 */
516 writeSVarintField(tag, val) {
517 this.writeTag(tag, PBF_VARINT);
518 this.writeSVarint(val);
519 }
520 /**
521 * @param {number} tag
522 * @param {string} str

Callers 2

pbf.test.jsFile · 0.80
writeTileValueFunction · 0.80

Calls 2

writeTagMethod · 0.95
writeSVarintMethod · 0.95

Tested by

no test coverage detected