Pymmapfile.resize

resize(MaximumSize, FileOffset, NumberOfBytesToMap)

Resizes the file mapping and view.

Parameters

MaximumSize : long

New size for file mapping. Use a multiple of system page size (see win32api::GetSystemInfo)

FileOffset=0 : long

Offset into file mapping. Must be multiple of allocation granularity.

NumberOfBytesToMap=0 : long

New view size. Specify a multiple of system page size.

Comments

If MaximumSize is 0, only the mapped view will be affected.

Accepts keyword args.