Make offset=0 the default parameter.

This commit is contained in:
Kevin Backhouse
2021-08-30 12:41:08 +01:00
parent aec6733df9
commit 9ff72e5ca5
36 changed files with 250 additions and 250 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ try {
// Read from the memory mapped region
buf.copyBytes(0, pData, buf.size());
// Reopen file in write mode and write to it
file.write(buf.c_data(0), buf.size());
file.write(buf.c_data(), buf.size());
// Read from the mapped region again
buf.copyBytes(0, pData, buf.size());
file.close();