Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mapbox/pbf
/ writeBoolean
Method
writeBoolean
index.js:321–323 ·
view source on GitHub ↗
@param {boolean} val
(val)
Source
from the content-addressed store, hash-verified
319
320
/** @param {boolean} val */
321
writeBoolean(val) {
322
this.writeVarint(+val);
323
}
324
325
/** @param {string} str */
326
writeString(str) {
Callers
2
writePackedBoolean
Function · 0.80
pbf.test.js
File · 0.80
Calls
1
writeVarint
Method · 0.95
Tested by
no test coverage detected