Kaya 0.4.4 reference for Binary::peekString

List of functions and data types in Binary

String peekString(Binary block, Int offset)

Arguments

Usage

Peek at the string val starting at offset offset. An OffsetOutOfRange exception will be thrown if it attempts to access a value outside the block. Note that Kaya assumes the String is stored in the block in UTF-8 encoding, with null-termination.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya