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

Function getLengthFieldBytes

src/utils/shareDataCodec.ts:100–102  ·  view source on GitHub ↗
(usesWideLengths: boolean)

Source from the content-addressed store, hash-verified

98}
99
100function getLengthFieldBytes(usesWideLengths: boolean): ShareDataLengthBytes {
101 return usesWideLengths ? 4 : 2;
102}
103
104function writeShareDataLength(
105 view: DataView,

Callers 2

encodeShareDataFunction · 0.85
decodeShareDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected