Static function for generating run data. This function encoded run length count# at position data# and increments the pointer accordingly. The pointer must initially point to a large enough data buffer.
Definition at line 642 of file GBitmap.h.
Referenced by MMRDecoder::scanrle().
if (count < RUNOVERFLOWVALUE)
data = count;
data += 1;
else if (count <= MAXRUNSIZE)
data = (count>>8) + GBitmap::RUNOVERFLOWVALUE;
data = (count & 0xff);
data += 2;