For I/O work, I need to read N bytes into a buffer. N is known at run time (not compile time). The buffer size will never change. The buffer is passed to other routines t
Yes, easy:
std::vector myBuffer(N);