Pymmapfile.flush

flush(offset, size)

Flushes memory buffer to disk

Parameters

offset=0 : int

Position in buffer at which to flush

size=0 : int

Number of bytes to flush, 0 to flush remainder of buffer past the offset