def _parse_ppt_segment(self, fptr):
offset = fptr.tell() - <NUM_LIT:2><EOL>read_buffer = fptr.read(<NUM_LIT:3>)<EOL>length, zppt = struct.unpack('<STR_LIT>', read_buffer)<EOL>length = length<EOL>zppt = zppt<EOL>numbytes = length - <NUM_LIT:3><EOL>ippt = fptr.read(numbytes)<EOL>return PPTsegment(zppt, ippt, length, offset)<EOL>
Parse the PPT segment.

        The packet headers are not parsed, i.e. they remain "uninterpreted"
        raw data beffers.

        Parameters
        ----------
        fptr : file object
            The file to parse.

        Returns
        -------
        PPTSegment
            The current PPT segment.