Class will be used to cache data that can later be read via the ReadAt() method without requesting frequent reads.
More...
Class will be used to cache data that can later be read via the ReadAt() method without requesting frequent reads.
◆ __init__()
| __init__ |
( |
| self, |
|
|
int | buffer_size ) |
Instantiate a cache buffer.
@param buffer_size:
◆ clear()
◆ get_count()
Get the number of bytes in the buffer
@returns The byte count
◆ get_data()
| bytearray get_data |
( |
| self | ) |
|
Get the buffer data
@returns The buffer data
◆ get_start_pos()
| int get_start_pos |
( |
| self | ) |
|
Get the start position
@returns The start position
◆ set_count()
| set_count |
( |
| self, |
|
|
| count ) |
Set the data count
@param count The data count
◆ set_start_pos()
| set_start_pos |
( |
| self, |
|
|
| start_pos ) |
Set the start position
@param start_pos The start position
The documentation for this class was generated from the following file: