Provided by: kaya_0.4.4-6ubuntu3_amd64
NAME
Binary::copyBlock - Copy a block of data.
SYNOPSIS
Binary copyBlock( Binary block )
ARGUMENTS
block The block of data
DESCRIPTION
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);
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
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.
RELATED
Binary.Binary (3kaya) Binary.copyChunk (3kaya) Binary.createInitialisedBlock (3kaya)