| 134 | } |
| 135 | |
| 136 | uint64_t ByteRleEncoderImpl::flush() { |
| 137 | writeValues(); |
| 138 | outputStream->BackUp(bufferLength - bufferPosition); |
| 139 | uint64_t dataSize = outputStream->flush(); |
| 140 | bufferLength = bufferPosition = 0; |
| 141 | return dataSize; |
| 142 | } |
| 143 | |
| 144 | void ByteRleEncoderImpl::write(char value) { |
| 145 | if (numLiterals == 0) { |