1Binary.peek(3kaya) Kaya module reference Binary.peek(3kaya)
2
3
4
6 Binary::peek - Query binary data.
7
9 Int peek( Binary block, Int offset )
10
12 block The binary block
13
14 offset The location to read from (starting from zero)
15
17 Retrieve the byte at offset offset
18 An Binary.OffsetOutOfRange (3kaya) exception will be thrown if it
19 attempts to access a value outside the block.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Binary.Binary (3kaya)
33 Binary.array (3kaya)
34 Binary.getBlockChunk (3kaya)
35 Binary.peekString (3kaya)
36 Binary.poke (3kaya)
37
38
39
40Kaya December 2010 Binary.peek(3kaya)