5 #include <cereal/archives/binary.hpp>
7 #include <cereal/types/vector.hpp>
10 #include <seqan3/test/tmp_filename.hpp>
13 void load(std::vector<int16_t> & data, seqan3::test::tmp_filename & tmp_file)
15 std::ifstream is(tmp_file.get_path(), std::ios::binary);
16 cereal::BinaryInputArchive archive(is);
21 void store(std::vector<int16_t>
const & data, seqan3::test::tmp_filename & tmp_file)
23 std::ofstream os(tmp_file.get_path(), std::ios::binary);
24 cereal::BinaryOutputArchive archive(os);
32 seqan3::test::tmp_filename tmp_file{
"data.out"};
34 std::vector<int16_t> vec{1,2,3,4};
37 std::vector<int16_t> vec2;
Provides seqan3::debug_stream and related types.
debug_stream_type debug_stream
A global instance of seqan3::debug_stream_type.
Definition: debug_stream.hpp:42