read_short

pylluminator.read_idat.read_short(infile) int

Converts a two-byte element to an integer value.

Parameters:

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

Returns:

Unsigned integer value converted from the supplied bytes.

Return type:

int