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

Method init

src/arithmeticencoder.cpp:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122BOOL ArithmeticEncoder::init(ByteStreamOut* outstream)
123{
124 if (outstream == 0) return FALSE;
125 this->outstream = outstream;
126 base = 0;
127 length = AC__MaxLength;
128 outbyte = outbuffer;
129 endbyte = endbuffer;
130 return TRUE;
131}
132
133void ArithmeticEncoder::done()
134{

Callers 2

initBitModelMethod · 0.45
initSymbolModelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected