check if stream is empty (has no data)
| 14 | |
| 15 | // check if stream is empty (has no data) |
| 16 | inline bool isEmpty( std::ostream& os ) |
| 17 | { |
| 18 | return os.tellp() == std::streampos( 0 ); |
| 19 | } |
| 20 | |
| 21 | // find corresponding filter in the async object loader registry |
| 22 | std::optional<IOFilter> findAsyncObjectLoadFilter( const std::filesystem::path& path ) |