getString

abstract fun getString(start: Int = 0, size: Int = limit): String

Read a UTF-8 string from the buffer.

Return

a String

Parameters

start

initial element of the string

size

size of the string in bytes.