1Binary.copyChunk(3kaya) Kaya module reference Binary.copyChunk(3kaya)
2
3
4
6 Binary::copyChunk - Copy a sub-block.
7
9 Binary copyChunk( Binary block, Int offset, Int bsize )
10
12 block The block of data
13
14 offset The initial offset
15
16 bsize The size of new block to create.
17
19 Creates a new block from the contents of the original starting at off‐
20 set with a length of bsize bytes. An Binary.OffsetOutOfRange (3kaya)
21 exception will be thrown if it attempts to access a value outside the
22 block.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
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.copyBlock (3kaya)
37 Binary.getBlockChunk (3kaya)
38
39
40
41Kaya December 2010 Binary.copyChunk(3kaya)