String peekString(Binary block, Int offset)
Arguments
block: The binary blockoffset: The location to read from (starting from zero)
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.