| 230 | } |
| 231 | |
| 232 | Status Write(const void* data, int64_t nbytes) override { |
| 233 | if (closed_) { |
| 234 | return Status::Invalid("Invalid operation on closed stream"); |
| 235 | } |
| 236 | return builder_.Append(data, nbytes); |
| 237 | } |
| 238 | |
| 239 | protected: |
| 240 | File* file_; |
no test coverage detected