def size(self): ''' Returns the size of the field in bytes. This function will add all the bit field sizes in order to calculate the byte size of the container. ''' return byte_end(Container.size(self))
def size(self): """ Returns the size of the field in bytes. This function will add all the bit field sizes in order to calculate the byte size of the container. """ return byte_end(Container.size(self))
def __init__(self, name): """ Initialize the structure with the given *name*. By default, it does not contain any fields. """ Container.__init__(self, name)
def __init__(self, name): ''' Initialize the bit structure field with the given *name*. By default an structure field does not contain any fields. ''' Container.__init__(self, name)