IrinaZagaynova / oop

0 stars 0 forks source link

Замечания по RLE #2

Open alexey-malov opened 4 years ago

alexey-malov commented 4 years ago

https://github.com/IrinaZagaynova/oop/blob/ce096e47503b885bdb2521ec77927da0f15f4a0d/lab1/RLE/RLE/RLE.cpp#L187-L201

alexey-malov commented 4 years ago

https://github.com/IrinaZagaynova/oop/blob/ce096e47503b885bdb2521ec77927da0f15f4a0d/lab1/RLE/RLE/RLE.cpp#L166-L170

alexey-malov commented 4 years ago
alexey-malov commented 4 years ago
struct RLEChunk
{
    char ch;
    uint8_t counter;
};
bool FlushChunk(RLEChunk& chunk, ostream& output);
bool CompressChar(char ch, RLEChunk& chunk, ostream& output);
alexey-malov commented 4 years ago