Pymmapfile Object
Object that provides access to memory-mapped file operations.
Methods
- close
- Closes the file mapping handle and releases mapped view
- find
- Finds a string in the buffer.
- flush
- Flushes memory buffer to disk
- move
- Moves data from one place in buffer to another
- read
- Returns specified number of bytes from buffer, and advances current position
- read_byte
- Reads a single character from current pos
- read_line
- Reads data from current pos up to next EOL.
- resize
- Resizes the file mapping and view
- seek
- Changes current position
- size
- Returns size of file mapping
- tell
- Returns current position in buffer
- write
- Places data at current pos in buffer.
- write_byte
- Writes a single character of data