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

Method writeFloat

index.js:346–350  ·  view source on GitHub ↗

@param {number} val

(val)

Source from the content-addressed store, hash-verified

344
345 /** @param {number} val */
346 writeFloat(val) {
347 this.realloc(4);
348 this.dataView.setFloat32(this.pos, val, true);
349 this.pos += 4;
350 }
351
352 /** @param {number} val */
353 writeDouble(val) {

Callers 3

writeFloatFieldMethod · 0.95
writePackedFloatFunction · 0.80
pbf.test.jsFile · 0.80

Calls 1

reallocMethod · 0.95

Tested by

no test coverage detected