Creates a BufferedReader and applies the closure, automatically closing it on completion.
Wraps a BufferedReader around the result of reader().
Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec.
Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec. When it is not specified, the one discovered at creation time will be used, which will always find the one in scala.io.Codec if no other is available. This can be overridden to use a different default.
Obtains an InputStreamReader wrapped around a FileInputStream.
Convenience function to import entire file into a String.
This method aspires to be the fastest way to read a stream of known length into memory.
This method aspires to be the fastest way to read a stream of known length into memory.
For objects which can be viewed as Chars.