Provided by: kaya_0.4.4-6ubuntu3_amd64
Binary::copyBlock - Copy a block of data.
Binary copyBlock( Binary block )
block The block of data
Creates a new block with identical size and contents to block This can be used to allow editing of data from a block created with Binary.createInitialisedBlock (3kaya) , without altering the foreign structure itself. cblock = createInitialisedBlock(ptr,len); kblock = copyBlock(cblock);
Kaya standard library by Edwin Brady, Chris Morris and others (email@example.com). 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) Binary.copyChunk (3kaya) Binary.createInitialisedBlock (3kaya)