MCPcopy Create free account
hub / github.com/LAStools/LAStools / writeInt

Method writeInt

LASzip/src/arithmeticencoder.cpp:293–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void ArithmeticEncoder::writeInt(U32 sym)
294{
295 writeShort((U16)(sym & 0xFFFF)); // lower 16 bits
296 writeShort((U16)(sym >> 16)); // UPPER 16 bits
297}
298
299void ArithmeticEncoder::writeFloat(F32 sym) /* danger in float reinterpretation */
300{

Callers 3

writeMethod · 0.45
write_gps_timeMethod · 0.45
write_gps_timeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected