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

Method writeStringField

index.js:524–527  ·  view source on GitHub ↗

* @param {number} tag * @param {string} str

(tag, str)

Source from the content-addressed store, hash-verified

522 * @param {string} str
523 */
524 writeStringField(tag, str) {
525 this.writeTag(tag, PBF_BYTES);
526 this.writeString(str);
527 }
528 /**
529 * @param {number} tag
530 * @param {number} val

Callers 13

pbf.test.jsFile · 0.80
writeEnvelopeFunction · 0.80
writeEnvelopeFunction · 0.80
writeEnvelopeFunction · 0.80
writeEmbeddedTypeFunction · 0.80
writeEnvelopeKvEntryFunction · 0.80
writeEnvelopeKnEntryFunction · 0.80
writeEnvelopeKvEntry$Function · 0.80
writeEnvelopeKnEntry$Function · 0.80
writeEnvelopeFunction · 0.80
writeTileValueFunction · 0.80

Calls 2

writeTagMethod · 0.95
writeStringMethod · 0.95

Tested by

no test coverage detected