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

Method writeBytesField

index.js:468–471  ·  view source on GitHub ↗

* @param {number} tag * @param {Uint8Array} buffer

(tag, buffer)

Source from the content-addressed store, hash-verified

466 * @param {Uint8Array} buffer
467 */
468 writeBytesField(tag, buffer) {
469 this.writeTag(tag, PBF_BYTES);
470 this.writeBytes(buffer);
471 }
472 /**
473 * @param {number} tag
474 * @param {number} val

Callers 2

pbf.test.jsFile · 0.80
writeEnvelopeFunction · 0.80

Calls 2

writeTagMethod · 0.95
writeBytesMethod · 0.95

Tested by

no test coverage detected