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

NAME

6       Binary::getBlockChunk - Return a chunk from a block as an array.
7

SYNOPSIS

9       [Int] getBlockChunk( Binary block, Int offset, Int bsize )
10

ARGUMENTS

12       block The binary block
13
14       offset The offset to start at (zero-indexed)
15
16       bsize The length of chunk to read
17

DESCRIPTION

19       Return  a  chunk  from a block as an array. Throws an Binary.OffsetOut‐
20       OfRange (3kaya) Exception if it attempts to access a value outside  the
21       block.
22

AUTHORS

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

LICENSE

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