Skip to content

Commit

Permalink
add a getter
Browse files Browse the repository at this point in the history
  • Loading branch information
wraymo committed Feb 12, 2025
1 parent 0f7f433 commit 2b92bac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/core/src/clp_s/SchemaReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ class SchemaReader {
*/
void load(std::shared_ptr<char[]> stream_buffer, size_t offset, size_t uncompressed_size);

/**
* @return the number of messages in the schema
*/
uint64_t get_num_messages() const { return m_num_messages; }

/**
* Gets next message
* @param message
Expand Down

0 comments on commit 2b92bac

Please sign in to comment.