def _parse_crg_segment(self, fptr):
offset = fptr.tell() - <NUM_LIT:2><EOL>read_buffer = fptr.read(<NUM_LIT:2>)<EOL>length, = struct.unpack('<STR_LIT>', read_buffer)<EOL>read_buffer = fptr.read(<NUM_LIT:4> * self._csiz)<EOL>data = struct.unpack('<STR_LIT:>>' + '<STR_LIT>' * self._csiz, read_buffer)<EOL>xcrg = data[<NUM_LIT:0>::<NUM_LIT:2>]<EOL>ycrg = data[<NUM_LIT:1>::<NUM_LIT:2>]<EOL>return CRGsegment(xcrg, ycrg, length, offset)<EOL>
Parse the CRG marker segment.

        Parameters
        ----------
        fptr : file
            Open file object.

        Returns
        -------
        CRGSegment
            The current CRG segment.