@classmethod
def parse(cls, frame_id, frame_size, reader):
    """given a frame_id string, frame_size int and BitstreamReader
        of the remaining frame data, returns a parsed text frame"""
    encoding = reader.read(8)
    return cls(frame_id, encoding, reader.read_bytes(frame_size - 1))
