1IO.__t_getString(3kaya) Kaya module reference IO.__t_getString(3kaya)
2
3
4
6 IO::__t_getString - Read a string from a binary file
7
9 Builtins::Tainted<String> __t_getString( IO::File h )
10
12 h A readable file handle
13
15 Reads a string (up to NULL termination) from a binary file. If the end
16 of the file is reached, the string read up to that point will be
17 returned. The string is assumed to be UTF-8 encoded.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
30 IO.get (3kaya)
31 IO.putStr (3kaya)
32
33
34
35Kaya December 2010 IO.__t_getString(3kaya)