code: def paddingsize(self, namedstruct):
          '''
          Return the size of the padded struct (including the "real" size and the padding bytes)
          
          :param namedstruct: a NamedStruct object of this type.
          
          :returns: size including both data and padding.
          '''
          if self.base is not None:
              return self.base.paddingsize(namedstruct)
          realsize = namedstruct._realsize()
          return (realsize + self.padding - 1) // self.padding * self.paddinf paddingsize(self, namedstruct):
          '''
          Return the size of the padded struct (including the "real" size and the padding bytes)
          
          :param namedstruct: a NamedStruct object of this type.
          
          :returns: size including both data and padding.
          '''
          if self.base is not None:
              return self.base.paddingsize(namedstruct)
          realsize = namedstruct._realsize()
          return (realsize + self.padding - 1) // self.padding * self.padding
docs: Return the size of the padded struct (including the "real" size and the padding bytes)
          
          :param namedstruct: a NamedStruct object of this type.
          
          :returns: size including both data and padding.