def read_len(self, s): l = toint(s) if l > self.handler.get_max_len(): return None return (l, self.read_message)
def read_len(self, s): l = toint(s) return (l, self.read_message)
def read_len(self, s): l = toint(s) if l > self.Encoder.max_len: return None return (l, self.read_message)