def _get_sample(self, mode, encoding):
self._open_file(mode, encoding)<EOL>self._sample = self._file.read(UniversalCsvReader.sample_size)<EOL>self._file.close()<EOL>
Get a sample from the next current input file.

:param str mode: The mode for opening the file.
:param str|None encoding: The encoding of the file. None for open the file in binary mode.