'Serialize the given list of objects to a single string.'

def toString(self, inObject):

    strings = []
    for obj in inObject:
        serialized = self.elementType.toString(obj)
        strings.append(pack('!H', len(serialized)))
        strings.append(serialized)
    return ''.join(strings)
