1Binary.poke(3kaya) Kaya module reference Binary.poke(3kaya)
2
3
4
6 Binary::poke - Modify binary data.
7
9 Void poke( Binary block, Int offset, Int val )
10
12 block The binary block
13
14 offset The location to write to (starting from zero)
15
16 val The byte value to write.
17
19 Poke the value val into the offset offset
20 An Binary.OffsetOutOfRange (3kaya) exception will be thrown if it
21 attempts to access a value outside the block.
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
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.peek (3kaya)
36 Binary.pokeString (3kaya)
37 Binary.setBlockData (3kaya)
38
39
40
41Kaya December 2010 Binary.poke(3kaya)