armazenar dados binários em buffer
ifstream input(fileName, ios::binary);
vector<byte> buffer(istreambuf_iterator<char>(input), {});
Fair Flatworm
ifstream input(fileName, ios::binary);
vector<byte> buffer(istreambuf_iterator<char>(input), {});