So I wrote simple function that read whole file into a buffer.
#include #include int main() { std::ios_base::sync_with_st