MCPcopy Create free account
hub / github.com/LASzip/LASzip / normalize

Method normalize

unused/rangedecoder.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267inline void RangeDecoder::normalize()
268{
269 while (range <= BOTTOM_VALUE)
270 {
271 low = (low<<8) | ((buffer<<EXTRA_BITS)&0xff);
272 buffer = instream->getByte();
273 low |= buffer >> (8-EXTRA_BITS);
274 range <<= 8;
275 }
276}
277
278/*
279U32 RangeDecoder::readRange(U32 range)

Callers

nothing calls this directly

Calls 1

getByteMethod · 0.45

Tested by

no test coverage detected