A wrapper for file object to maintain some more states during parsing.
Parameters: |
|
---|
Set internal references to None.
Note that it will not close the original file object.
Get length of the file from local file system.
Read bytes.
Parameters: | n – Count of bytes to read. |
---|---|
Returns: | Bytes. |
Restore last internal state.
Save internal state.
Seek position in sub file.
Parameters: |
|
---|
Current position in sub file.
Returns: | Current position. |
---|