CryptoAuthLib v3.7.8
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
cryptoauthlib.library._CtypeIterator Class Reference

Public Member Functions

None __init__ (self, obj)
 
def __iter__ (self)
 
def __next__ (self)
 

Protected Attributes

 _obj
 
 _index
 
 _end
 

Detailed Description

Used to iterate through a ctypes structure or union. This iterator
returns a tuple of three elements:
        <field_name>, <field_contents>, <field_info>
Of course field_info is a tuple of varying size depending on how the
field was defined (arrays, bitfields, etc)