Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mapbox/pbf
/ functions
Functions
180 in github.com/mapbox/pbf
⨍
Functions
180
◇
Types & classes
4
↓ 63 callers
Method
readVarint
* @param {boolean} [isSigned]
index.js:92
↓ 44 callers
Method
finish
()
index.js:256
↓ 41 callers
Method
writeVarintField
* @param {number} tag * @param {number} val
index.js:508
↓ 32 callers
Method
nextField
* Advance to the next field. Returns the field number, or 0 at end-of-message. * @param {number} [end]
index.js:202
↓ 22 callers
Method
writeMessage
* @template T * @param {number} tag * @param {(obj: T, pbf: PbfWriter) => void} fn * @param {T} obj
index.js:395
↓ 21 callers
Method
readString
()
index.js:115
↓ 19 callers
Function
compile
(proto)
compile.js:7
↓ 19 callers
Method
writeStringField
* @param {number} tag * @param {string} str
index.js:524
↓ 17 callers
Method
writeVarint
@param {number} val
index.js:293
↓ 16 callers
Method
readPackedVarint
* @param {number[]} [arr] * @param {boolean} [isSigned]
index.js:141
↓ 14 callers
Method
realloc
@param {number} min
index.js:242
↓ 11 callers
Method
readFloat
()
index.js:77
↓ 11 callers
Method
writeTag
* @param {number} tag * @param {number} type
index.js:237
↓ 10 callers
Method
readBoolean
()
index.js:111
↓ 9 callers
Function
readEnvelope
(pbf, end)
test/fixtures/map.js:2
↓ 9 callers
Method
readPackedEnd
()
index.js:194
↓ 9 callers
Function
writeEnvelope
(obj, pbf)
test/fixtures/map.js:11
↓ 9 callers
Method
writePackedVarint
* @param {number} tag * @param {number[]} arr
index.js:404
↓ 8 callers
Method
readFields
* @template T * @param {(tag: number, result: T, pbf: PbfReader) => void} readField * @param {T} result * @param {number} [end]
index.js:34
↓ 8 callers
Method
writeBooleanField
* @param {number} tag * @param {boolean} val
index.js:548
↓ 8 callers
Method
writeFloatField
* @param {number} tag * @param {number} val
index.js:532
↓ 6 callers
Method
readFixed32
()
index.js:51
↓ 6 callers
Method
readSFixed32
()
index.js:57
↓ 6 callers
Function
toNum
* @param {number} low * @param {number} high * @param {boolean} [isSigned]
index.js:577
↓ 5 callers
Method
readDouble
()
index.js:83
↓ 5 callers
Function
readTile
(pbf, end)
test/fixtures/vector_tile.js:2
↓ 5 callers
Method
writeFixed32
@param {number} val
index.js:263
↓ 4 callers
Function
clock
(start)
bench/bench-tiles.js:103
↓ 4 callers
Function
getMethod
(ctx, field)
compile.js:141
↓ 4 callers
Function
getSubMessage
(ctx, field)
compile.js:114
↓ 4 callers
Method
readSVarint
()
index.js:106
↓ 4 callers
Function
toArray
(buf)
test/pbf.test.js:7
↓ 4 callers
Function
validateIdentifier
(name)
compile.js:210
↓ 4 callers
Method
writeFixed64
@param {number} val
index.js:277
↓ 4 callers
Method
writeSFixed32
@param {number} val
index.js:270
↓ 4 callers
Method
writeSFixed64
@param {number} val
index.js:285
↓ 4 callers
Method
writeString
@param {string} str
index.js:326
↓ 3 callers
Function
compileFieldWrite
(ctx, field, name)
compile.js:185
↓ 3 callers
Function
compileRaw
(proto, options = {})
compile.js:11
↓ 3 callers
Function
fieldShouldUseStringAsNumber
(field)
compile.js:149
↓ 3 callers
Function
getType
(ctx, field)
compile.js:105
↓ 3 callers
Method
readBytes
()
index.js:128
↓ 3 callers
Method
readFixed64
()
index.js:65
↓ 3 callers
Method
readSFixed64
()
index.js:71
↓ 3 callers
Method
writeBoolean
@param {boolean} val
index.js:321
↓ 3 callers
Method
writeDouble
@param {number} val
index.js:353
↓ 3 callers
Function
writeEmbeddedType
(obj, pbf)
test/fixtures/embedded_type.js:12
↓ 3 callers
Method
writeFloat
@param {number} val
index.js:346
↓ 3 callers
Method
writeSVarint
@param {number} val
index.js:316
↓ 3 callers
Function
writeTile
(obj, pbf)
test/fixtures/vector_tile.js:10
↓ 2 callers
Function
config
(file, plugins)
rollup.config.js:3
↓ 2 callers
Function
f
(name, type, tag)
compile.js:199
↓ 2 callers
Function
getEnumValues
(ctx)
compile.js:80
↓ 2 callers
Function
isEnum
(type)
compile.js:101
↓ 2 callers
Function
isPacked
(field)
compile.js:309
↓ 2 callers
Function
makeRoomForExtraLength
* @param {number} startPos * @param {number} len * @param {PbfWriter} pbf
index.js:646
↓ 2 callers
Function
readEmbeddedTypeContainerInner
(pbf, end)
test/fixtures/embedded_type.js:30
↓ 2 callers
Function
readFalsePacked
(pbf, end)
test/fixtures/packed.js:16
↓ 2 callers
Method
readMessage
* @template T * @param {(tag: number, result: T, pbf: PbfReader) => void} readField * @param {T} result
index.js:47
↓ 2 callers
Method
skip
@param {number} val
index.js:212
↓ 2 callers
Function
speed
(time, size)
bench/bench-tiles.js:99
↓ 2 callers
Function
willSupportPacked
(ctx, field)
compile.js:267
↓ 2 callers
Method
writeBytes
@param {Uint8Array} buffer
index.js:360
↓ 2 callers
Method
writeBytesField
* @param {number} tag * @param {Uint8Array} buffer
index.js:468
↓ 2 callers
Method
writeDoubleField
* @param {number} tag * @param {number} val
index.js:540
↓ 2 callers
Method
writeFixed32Field
* @param {number} tag * @param {number} val
index.js:476
↓ 2 callers
Method
writeFixed64Field
* @param {number} tag * @param {number} val
index.js:492
↓ 2 callers
Function
writeFunctionExport
({legacy}, name)
compile.js:76
↓ 2 callers
Function
writeNotPacked
(obj, pbf)
test/fixtures/packed.js:11
↓ 2 callers
Function
writePacked
(obj, pbf)
test/fixtures/packed.js:39
↓ 2 callers
Method
writePackedBoolean
* @param {number} tag * @param {boolean[]} arr
index.js:418
↓ 2 callers
Method
writeRawMessage
* @template T * @param {(obj: T, pbf: PbfWriter) => void} fn * @param {T} obj
index.js:373
↓ 2 callers
Method
writeSVarintField
* @param {number} tag * @param {number} val
index.js:516
↓ 1 callers
Function
buildContext
(proto, parent, mapEntryField)
compile.js:216
↓ 1 callers
Function
buildDefaults
(ctx, syntax)
compile.js:289
↓ 1 callers
Function
capitalize
(s)
compile.js:110
↓ 1 callers
Function
compileDest
(ctx)
compile.js:92
↓ 1 callers
Function
compileFieldRead
(ctx, field)
compile.js:170
↓ 1 callers
Function
compileFieldWriteLine
(ctx, field)
compile.js:63
↓ 1 callers
Function
compilePackedRead
(ctx, field)
compile.js:165
↓ 1 callers
Function
compileScalarFieldRead
(ctx, field)
compile.js:155
↓ 1 callers
Function
getDefaultValue
(field, value)
compile.js:253
↓ 1 callers
Function
getDefaultWriteTest
(ctx, field)
compile.js:298
↓ 1 callers
Function
getMapMessage
(field)
compile.js:198
↓ 1 callers
Function
loadTile
(z, x, y, urlTemplate, cachePath)
bench/bench-tiles.js:140
↓ 1 callers
Function
pointToTileFraction
(lon, lat, z)
bench/bench-tiles.js:173
↓ 1 callers
Function
readCustomType
(pbf, end)
test/fixtures/defaults_implicit.js:7
↓ 1 callers
Function
readEmbeddedTypeContainer
(pbf, end)
test/fixtures/embedded_type.js:18
↓ 1 callers
Function
readEnvelopeKnEntry
(pbf, end)
test/fixtures/map.js:30
↓ 1 callers
Function
readEnvelopeKnEntry$
(pbf, end)
test/fixtures/map_collision.js:51
↓ 1 callers
Function
readEnvelopeKvEntry
(pbf, end)
test/fixtures/map.js:16
↓ 1 callers
Function
readEnvelopeKvEntry
(pbf, end)
test/fixtures/map_collision.js:25
↓ 1 callers
Function
readEnvelopeKvEntry$
(pbf, end)
test/fixtures/map_collision.js:37
↓ 1 callers
Function
readNotPacked
(pbf, end)
test/fixtures/packed.js:2
↓ 1 callers
Function
readPacked
(pbf, end)
test/fixtures/packed.js:30
↓ 1 callers
Method
readPackedBoolean
@param {boolean[]} [arr]
index.js:153
↓ 1 callers
Function
readPackedFixed
(pbf, end)
test/fixtures/packed_proto3.js:47
↓ 1 callers
Method
readPackedSFixed64
@param {number[]} [arr]
index.js:189
↓ 1 callers
Function
readTileFeature
(pbf, end)
test/fixtures/vector_tile.js:45
↓ 1 callers
Function
readTileLayer
(pbf, end)
test/fixtures/vector_tile.js:63
next →
1–100 of 180, ranked by callers