parameters: (a, objectStart, b)
return_statement: return True
docstring: vtableEqual compares an unwritten vtable to a written vtable.
docstring_summary: vtableEqual compares an unwritten vtable to a written vtable.
docstring_tokens: vtableEqual compares an unwritten vtable to a written vtable .
function: def vtableEqual(a, objectStart, b):
      """vtableEqual compares an unwritten vtable to a written vtable."""
  
      N.enforce_number(objectStart, N.UOffsetTFlags)
  
      if len(a) * N.VOffsetTFlags.bytewidth != len(b):
          return False
  
      for i, elem in enumerate(a):
          x = encode.Get(packer.voffset, b, i * N.VOffsetTFlags.bytewidth)
  
          # Skip vtable entries that indicate a default value.
          if x == 0 and elem == 0:
              pass
          else:
              y = objectStart - elem
              if x != y:
                  return False
      return True
function_tokens: def vtableEqual ( a , objectStart , b ) : N . enforce_number ( objectStart , N . UOffsetTFlags ) if len ( a ) * N . VOffsetTFlags . bytewidth != len ( b ) : return False for i , elem in enumerate ( a ) : x = encode . Get ( packer . voffset , b , i * N . VOffsetTFlags . bytewidth ) # Skip vtable entries that indicate a default value. if x == 0 and elem == 0 : pass else : y = objectStart - elem if x != y : return False return True