| 1622 | } |
| 1623 | |
| 1624 | int Fory_PyClearBufferOutputStream(Buffer *buffer, std::string *error_message) { |
| 1625 | if (buffer == nullptr) { |
| 1626 | *error_message = "buffer must not be null"; |
| 1627 | return -1; |
| 1628 | } |
| 1629 | buffer->clear_output_stream(); |
| 1630 | return 0; |
| 1631 | } |
| 1632 | } // namespace fory |
nothing calls this directly
no test coverage detected