read_char

pylluminator.read_idat.read_char(infile, num_bytes: int) str

Converts an array of bytes to a string.

Parameters:
  • infile (file-like) – The binary file to read the select number of bytes.

  • num_bytes (int) – The number of bytes to read and parse.

Returns:

UTF-8 decoded string value.

Return type:

str