def readFromFile(self, f):
   proto = InnerProto.read(f)
   self.read(proto)