iSize
The size in bytes of the file referenced by vMem. If you use the SaveArray method to create the file in memory, that method updates your buffer size variable. Otherwise, your code must update and pass the appropriate variable.