Simpan data biner dalam 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), {});