class documentation
        
        class Bitfield(Field):
Undocumented
| Method | __eq__ | 
    Compares the instance for equality with an object. | 
| Method | __init__ | 
    Initializes an instance of this class from its name, offset in the parent struct, sliced type, offset in bits in the type and length in bits in the type. | 
| Method | __ne__ | 
    Compares the instance for equality with an object. | 
| Method | __str__ | 
    Returns the nicely printable string representation of this instance. | 
| Property | length | 
    The number of bits in this bitfield. | 
| Property | position | 
    The bit where this bitfield starts. | 
| Property | underlying | 
    The sliced type of this bitfield. | 
| Instance Variable | _length | 
    Undocumented | 
| Instance Variable | _position | 
    Undocumented | 
| Instance Variable | _typ | 
    Undocumented | 
              Inherited from Field:
            
| Method | __hash__ | 
    Returns the hash for this value. | 
| Property | name | 
    The name of the field. | 
| Property | offset | 
    The offset of the field in its parent struct, in bytes. | 
| Instance Variable | _name | 
    Undocumented | 
| Instance Variable | _offset | 
    Undocumented | 
    
    def __eq__(self, o):
    
  
  Compares the instance for equality with an object.
- if the object is not a 
Bitfield, it will never be equal to this instance. 
| Parameters | |
o:object | Undocumented | 
| Returns | |
bool | Undocumented | 
    
    def __init__(self, name, offset, typ, position, length):
    
  
  overrides 
    
    reven2.types._struct.Field.__init__Initializes an instance of this class from its name, offset in the parent struct, sliced type, offset in bits in the type and length in bits in the type.
| Parameters | |
name:str | Undocumented | 
offset:int | Undocumented | 
typ:_Type | Undocumented | 
position:int | Undocumented | 
length:int | Undocumented | 
    
    def __ne__(self, o):
    
  
  Compares the instance for equality with an object.
- if the object is not a 
Bitfield, it will never be equal to this instance. 
| Parameters | |
o:object | Undocumented | 
| Returns | |
bool | Undocumented | 
    
    def __str__(self):
    
  
  overrides 
    
    reven2.types._struct.Field.__str__Returns the nicely printable string representation of this instance.
| Returns | |
str | Undocumented |