def __init__(self, data):
        """string - the data to work on for encoding detection"""
        self.data = EncodingBytes(data)
        self.encoding = None
string - the data to work on for encoding detection
product/gradle-plugin/src/main/python/pip/_vendor/html5lib/_inputstream.py