Camel.KeyFile¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Camel.KeyFile(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(path, flags, version)¶
- Parameters:
path (
str) – a filename with path of theCamel.KeyFileto createflags (
int) – open flagsversion (
str) – Version string (header) of file. Currently written but not checked.
- Returns:
A new key file, or
Noneif the file could not be opened/created/initialised.- Return type:
Create a new key file. A linked list of record blocks.
- read(start, records)¶
- Parameters:
- Returns:
-1 on io error.
- Return type:
Read the next block of data from the key file. Returns the number of records.