Read a whole file into a buffer.
If the supplied buffer is large enough, it will be used to store the contents of the file. Otherwise, a new buffer will be allocated.
The path of the file to read
An optional buffer to use for storing the file contents
See Implementation
Read a whole file into a buffer.
If the supplied buffer is large enough, it will be used to store the contents of the file. Otherwise, a new buffer will be allocated.