1Binary.writeBlock(3kaya) Kaya module reference Binary.writeBlock(3kaya)
2
3
4
6 Binary::writeBlock - Write a block to a file.
7
9 Void writeBlock( File h, Binary block )
10
12 h A file handle to write to
13
14 block The binary data
15
17 Write the contents of a Binary block to a file. The file must already
18 be open and writable, of course. A IO.FileError (3kaya) Exception will
19 be thrown if the block was not written in its entirety.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Binary.Binary (3kaya)
33 IO(3kaya)
34 Binary.readBlock (3kaya)
35
36
37
38Kaya December 2010 Binary.writeBlock(3kaya)