MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / string_view

Class string_view

Source/MediaInfo/TimeCode.h:187–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 };
186
187 class string_view
188 {
189 public:
190 constexpr string_view(const char* s, size_t count) : s_(s), count_(count) {}
191 constexpr const char* data() const noexcept { return s_; }
192 constexpr size_t size() const noexcept { return count_; }
193 private:
194 const char* s_;
195 size_t count_;
196 };
197
198 //constructor/Destructor
199 TimeCode();

Callers 10

TimeCodeMethod · 0.70
FromStringMethod · 0.70
for_each_codepointFunction · 0.50
to_utf8Class · 0.50
convertMethod · 0.50
find_escapeFunction · 0.50
write_intFunction · 0.50
write_significandMethod · 0.50
strFunction · 0.50
FileHeader_ParseMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected