identify_text
return identify_text(buffer, nread, inSource, outInfo, outType, encoding);
result = identify_text(buffer, bytesRead, source, &outInfo, outType, encoding);