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

Method writeDouble

index.js:353–357  ·  view source on GitHub ↗

@param {number} val

(val)

Source from the content-addressed store, hash-verified

351
352 /** @param {number} val */
353 writeDouble(val) {
354 this.realloc(8);
355 this.dataView.setFloat64(this.pos, val, true);
356 this.pos += 8;
357 }
358
359 /** @param {Uint8Array} buffer */
360 writeBytes(buffer) {

Callers 3

writeDoubleFieldMethod · 0.95
writePackedDoubleFunction · 0.80
pbf.test.jsFile · 0.80

Calls 1

reallocMethod · 0.95

Tested by

no test coverage detected