std::vector<uint8_t> bytes( std::istreambuf_iterator<uint8_t>(input), std::istreambuf_iterator<uint8_t>() );