MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / binary_reader

Method binary_reader

lesson6-Segmentation/json.hpp:7712–7715  ·  view source on GitHub ↗

! @brief create a binary reader @param[in] adapter input adapter to read from */

Source from the content-addressed store, hash-verified

7710 @param[in] adapter input adapter to read from
7711 */
7712 explicit binary_reader(InputAdapterType&& adapter) : ia(std::move(adapter))
7713 {
7714 (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
7715 }
7716
7717 // make class move-only
7718 binary_reader(const binary_reader&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected