GMime.StreamMmap¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
eos |
r |
|
|
fd |
r |
file descriptor |
|
map |
r |
memory map |
|
maplen |
r |
length of the memory map |
|
owner |
r |
|
|
parent_object |
r |
parent |
Class Details¶
- class GMime.StreamMmap(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A memory-mapped
GMime.Stream
.- classmethod new(fd, prot, flags)¶
- Parameters:
- Returns:
a stream using fd.
- Return type:
Creates a new
GMime.StreamMmap
object around fd.
- classmethod new_with_bounds(fd, prot, flags, start, end)¶
- Parameters:
- Returns:
a stream using fd with bounds start and end.
- Return type:
Creates a new
GMime.StreamMmap
object around fd with bounds start and end.
- get_owner()¶
-
Gets whether or not self owns the backend file descriptor.
New in version 3.2.