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

Function writeEmbeddedTypeContainer

test/fixtures/embedded_type.js:26–28  ·  view source on GitHub ↗
(obj, pbf)

Source from the content-addressed store, hash-verified

24 return obj;
25}
26export function writeEmbeddedTypeContainer(obj, pbf) {
27 if (obj.values) for (const item of obj.values) pbf.writeMessage(1, writeEmbeddedTypeContainerInner, item);
28}
29
30export function readEmbeddedTypeContainerInner(pbf, end) {
31 const obj = {value: ""};

Callers

nothing calls this directly

Calls 1

writeMessageMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…