15 lines
360 B
C++
15 lines
360 B
C++
#include "streamingview.hpp"
|
|
|
|
template<class Archive>
|
|
void libdart_openmvg::StreamingView::load(cereal::BinaryOutputArchive &ar) const {
|
|
int i = 0;
|
|
while (i = fgetc(mFrame->stream) != EOF) {
|
|
ar(i);
|
|
}
|
|
}
|
|
|
|
template<class Archive>
|
|
void libdart_openmvg::StreamingView::save(cereal::BinaryInputArchive &ar) const {
|
|
// int i = 0;
|
|
// todo
|
|
} |