code: def sizeof(self, prim):
          '''
          Compatible to Parser.sizeof()
          '''
          size = 0
          arraysize = self.size
          if arraysize == 0:
              arraysize = len(prim)
          for i in range(0, arraysize):
              if i >= len(prim):
                  tp = self.innerparser.new()
                  if hasattr(self.innerparser, 'fullparse'):
                      self.innerparser.fullparse(tp)
                  size += self.innerparser.paddingsize(tp)
              else:
                  size += self.innerparser.paddingsize(prim[i])
          return sizf sizeof(self, prim):
          '''
          Compatible to Parser.sizeof()
          '''
          size = 0
          arraysize = self.size
          if arraysize == 0:
              arraysize = len(prim)
          for i in range(0, arraysize):
              if i >= len(prim):
                  tp = self.innerparser.new()
                  if hasattr(self.innerparser, 'fullparse'):
                      self.innerparser.fullparse(tp)
                  size += self.innerparser.paddingsize(tp)
              else:
                  size += self.innerparser.paddingsize(prim[i])
          return size
docs: Compatible to Parser.sizeof()