MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / createBinaryRigBuffer

Function createBinaryRigBuffer

src/parsers/rigs.test.ts:79–90  ·  view source on GitHub ↗
(refSensorType: number, additionalSensorType: number)

Source from the content-addressed store, hash-verified

77});
78
79function createBinaryRigBuffer(refSensorType: number, additionalSensorType: number): ArrayBuffer {
80 const writer = new BinaryWriter();
81 writer.writeUint64FromNumber(1);
82 writer.writeUint32(1);
83 writer.writeUint32(2);
84 writer.writeInt32(refSensorType);
85 writer.writeUint32(1);
86 writer.writeInt32(additionalSensorType);
87 writer.writeUint32(2);
88 writer.writeUint8(0);
89 return writer.toArrayBuffer();
90}

Callers 1

rigs.test.tsFile · 0.85

Calls 5

writeUint64FromNumberMethod · 0.95
writeUint32Method · 0.95
writeInt32Method · 0.95
writeUint8Method · 0.95
toArrayBufferMethod · 0.95

Tested by

no test coverage detected