code: def paddingsize2(self, realsize):
          '''
          Return a padded size from realsize, for NamedStruct internal use.
          '''
          if self.base is not None:
              return self.base.paddingsize2(realsize)
          return (realsize + self.padding - 1) // self.padding * self.paddinf paddingsize2(self, realsize):
          '''
          Return a padded size from realsize, for NamedStruct internal use.
          '''
          if self.base is not None:
              return self.base.paddingsize2(realsize)
          return (realsize + self.padding - 1) // self.padding * self.padding
docs: Return a padded size from realsize, for NamedStruct internal use.