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

Method init

unused/rangeencoder.cpp:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61I32 RangeEncoder::init(ByteStreamOut* outstream)
62{
63 assert(outstream);
64 this->outstream = outstream;
65
66 low = 0; /* Full code range */
67 range = TOP_VALUE;
68 /* this buffer is written as first byte in the datastream (header,...) */
69 buffer = HEADERBYTE;
70 help = 0; /* No bytes to follow */
71 return 0;
72}
73
74/* Finish encoding */
75/* actually not that many bytes need to be output, but who */

Callers 1

initSymbolModelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected