Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
minidump.Descriptor Class Reference
Inheritance diagram for minidump.Descriptor:

Public Member Functions

def __init__ (self, fields)
 
def Read (self, address)
 

Public Attributes

 fields
 
 ctype
 
 size
 

Detailed Description

A handy wrapper over ctypes.Structure

Definition at line 29 of file minidump.py.

Constructor & Destructor Documentation

◆ __init__()

def minidump.Descriptor.__init__ (   self,
  fields 
)

Definition at line 32 of file minidump.py.

32 def __init__(self, fields):
33 self.fields = fields
34 self.ctype = Descriptor._GetCtype(fields)
35 self.size = ctypes.sizeof(self.ctype)
36

Member Function Documentation

◆ Read()

def minidump.Descriptor.Read (   self,
  address 
)

Definition at line 37 of file minidump.py.

37 def Read(self, address):
38 return self.ctype.from_address(address)
39
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)

Member Data Documentation

◆ ctype

minidump.Descriptor.ctype

Definition at line 34 of file minidump.py.

◆ fields

minidump.Descriptor.fields

Definition at line 33 of file minidump.py.

◆ size

minidump.Descriptor.size

Definition at line 35 of file minidump.py.


The documentation for this class was generated from the following file: