Man Page: binary.pokestring
Operating Environment: debian
Section: 3kaya
Binary.pokeString(3kaya) Kaya module reference Binary.pokeString(3kaya)NAMEBinary::pokeString - Write a String of binary data.SYNOPSISVoid pokeString( var Binary block, Int offset, String val )ARGUMENTSblock The binary block offset The location to write to (starting from zero) val The String to write.DESCRIPTIONPoke the string val into the block, starting at offset offset An Binary.OffsetOutOfRange(3kaya) exception will be thrown if it attempts to access a value outside the block. Note that the String will be stored in the block in UTF-8 encoding, not as raw Kaya chars, so you need to use Builtins.byteLength(3kaya) to determine how much space you need (and then add one for a terminating null byte).AUTHORSKaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/LICENSEThe Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.RELATEDBinary.Binary(3kaya) Builtins.byteLength(3kaya) Binary.peekString(3kaya) Binary.poke(3kaya) Binary.setBlockData(3kaya) Kaya October 2012 Binary.pokeString(3kaya)
| Related Man Pages |
|---|
| binary.copychunk(3kaya) - debian |
| binary.copyblock(3kaya) - debian |
| sockets.recvbytes(3kaya) - debian |
| binary.peekstring(3kaya) - debian |
| testing.randomint(3kaya) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Need to convert Binary files to ascii |
| Binary line being inserted while truncating a file |
| Binary files |
| Binary Comparision |
| Writing a file in Binary |