Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mapbox/pbf
/ writeTag
Method
writeTag
index.js:237–239 ·
view source on GitHub ↗
* @param {number} tag * @param {number} type
(tag, type)
Source
from the content-addressed store, hash-verified
235
* @param {number}
type
236
*/
237
writeTag(tag,
type
) {
238
this.writeVarint((tag << 3) |
type
);
239
}
240
241
/** @param {number} min */
242
realloc(min) {
Callers
11
writeMessage
Method · 0.95
writeBytesField
Method · 0.95
writeFixed32Field
Method · 0.95
writeSFixed32Field
Method · 0.95
writeFixed64Field
Method · 0.95
writeSFixed64Field
Method · 0.95
writeVarintField
Method · 0.95
writeSVarintField
Method · 0.95
writeStringField
Method · 0.95
writeFloatField
Method · 0.95
writeDoubleField
Method · 0.95
Calls
1
writeVarint
Method · 0.95
Tested by
no test coverage detected