OptimizedFileReader.readSingleValue
string readSingleValue(string path) @safeReads a single value from a file (first line, stripped).
This is optimized for /sys files that contain a single value.
Parameters
path | Path to the file to read |
Returns
First line of the file, stripped of whitespace
Throws
OptimizationException if the file cannot be read