1Binary.copyBlock(3kaya)      Kaya module reference     Binary.copyBlock(3kaya)
2
3
4

NAME

6       Binary::copyBlock - Copy a block of data.
7

SYNOPSIS

9       Binary copyBlock( Binary block )
10

ARGUMENTS

12       block The block of data
13

DESCRIPTION

15       Creates a new block with identical size and contents to block
16        This  can  be  used to allow editing of data from a block created with
17       Binary.createInitialisedBlock (3kaya) , without  altering  the  foreign
18       structure itself.
19
20
21    cblock = createInitialisedBlock(ptr,len);
22    kblock = copyBlock(cblock);
23

AUTHORS

25       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
26       (kaya@kayalang.org). For further information see http://kayalang.org/
27

LICENSE

29       The Kaya standard library is free software;  you  can  redistribute  it
30       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
31       License (version 2.1 or any later version) as  published  by  the  Free
32       Software Foundation.
33
35       Binary.Binary (3kaya)
36       Binary.copyChunk (3kaya)
37       Binary.createInitialisedBlock (3kaya)
38
39
40
41Kaya                             December 2010         Binary.copyBlock(3kaya)
Impressum