Write a block to a file.
Void writeBlock( File h, Binary block )
h A file handle to write to
block The binary data
Write the contents of a Binary block to a file. The file must already be open and writable, of course. A IO.FileError (3kaya) Exception will be thrown if the block was not written in its entirety.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
Binary.Binary (3kaya)
IO(3kaya)
Binary.readBlock (3kaya)