def _parse_pod_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>n = ((length - <NUM_LIT:2>) / <NUM_LIT:7>) if self._csiz < <NUM_LIT> else ((length - <NUM_LIT:2>) / <NUM_LIT:9>)<EOL>n = int(n)<EOL>nbytes = n * <NUM_LIT:7> if self._csiz < <NUM_LIT> else n * <NUM_LIT:9><EOL>read_buffer = fptr.read(nbytes)<EOL>fmt = '<STR_LIT:>>' + '<STR_LIT>' * n if self._csiz < <NUM_LIT> else '<STR_LIT:>>' + '<STR_LIT>' * n<EOL>pod_params = struct.unpack(fmt, read_buffer)<EOL>return PODsegment(pod_params, length, offset)<EOL>
Parse the POD segment.

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

        Returns
        -------
        PODSegment
            The current POD segment.