code: def getAllEncodings(self):
      
  
      numEncodings=self.fields[0].numEncodings
      assert (all(field.numEncodings==numEncodings for field in self.fields))
      encodings = [self.getEncoding(index) for index in range(numEncodings)]
  
      return encodings
docs: Returns encodings for all the records