1IO.readFile(3kaya) Kaya module reference IO.readFile(3kaya)
2
3
4
6 IO::readFile - Read a text file.
7
9 String readFile( String fname )
10
12 fname A file name
13
15 Reads the entire contents of fname into a String. This function assumes
16 that the file is a text file, rather than a binary file.
17
19 Kaya standard library by Edwin Brady, Chris Morris and others
20 (kaya@kayalang.org). For further information see http://kayalang.org/
21
23 The Kaya standard library is free software; you can redistribute it
24 and/or modify it under the terms of the GNU Lesser General Public
25 License (version 2.1 or any later version) as published by the Free
26 Software Foundation.
27
29 Binary.readBlock (3kaya)
30 IO.writeFile (3kaya)
31
32
33
34Kaya December 2010 IO.readFile(3kaya)