| 225 | } |
| 226 | |
| 227 | void TChunkedOutput::DoWrite(const void* buf, size_t len) { |
| 228 | if (Impl_.Get()) { |
| 229 | Impl_->Write(buf, len); |
| 230 | } else { |
| 231 | ythrow yexception() << "can not write to finished stream"; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | void TChunkedOutput::DoFlush() { |
| 236 | if (Impl_.Get()) { |