def _checkStringSize(self, lengthAsString):
        if len(lengthAsString) > self._maxLengthSize():
            raise NetstringParseError(self._TOO_LONG % (self.MAX_LENGTH,))
Checks the sanity of lengthAsString.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/basic.py/NetstringReceiver._checkStringSize