Keiwando.NFSO.OpenedFile

instance method

ToUTF8String

public string ToUTF8String() 

Summary

A helper function which can be used to return the byte contents of the file interpreted as a UTF-8-encoded string.

Returns

The UTF-8 string representation of the file contents. Returns an empty string if the conversion fails.

Remarks

The generated string is cached after it has been generated for the first time.