MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / writeUint64

Method writeUint64

src/parsers/BinaryWriter.ts:56–60  ·  view source on GitHub ↗

* Write unsigned 64-bit integer (for point3D_id, counts, etc.) * COLMAP uses uint64_t for point3D_t

(value: bigint)

Source from the content-addressed store, hash-verified

54 * COLMAP uses uint64_t for point3D_t
55 */
56 writeUint64(value: bigint): void {
57 this.ensureCapacity(8);
58 this.currentView.setBigUint64(this.offset, value, true); // little-endian
59 this.offset += 8;
60 }
61
62 /**
63 * Convenience method to write a number as uint64

Callers 3

writeImagesBinaryFunction · 0.95
writePoints3DBinaryFunction · 0.95
writeUint64FromNumberMethod · 0.95

Calls 1

ensureCapacityMethod · 0.95

Tested by

no test coverage detected