| 219 | } |
| 220 | |
| 221 | void ByteRleEncoderImpl::finishEncode() { |
| 222 | writeValues(); |
| 223 | outputStream->BackUp(bufferLength - bufferPosition); |
| 224 | outputStream->finishStream(); |
| 225 | bufferLength = bufferPosition = 0; |
| 226 | } |
| 227 | |
| 228 | std::unique_ptr<ByteRleEncoder> createByteRleEncoder( |
| 229 | std::unique_ptr<BufferedOutputStream> output) { |
nothing calls this directly
no test coverage detected