Update docs of String(chars, offset, length)
This commit is contained in:
committed by
Pavel Punegov
parent
68489077d0
commit
d76b6ad63f
@@ -222,6 +222,9 @@ public actual fun String(chars: CharArray): String = fromCharArray(chars, 0, cha
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts the characters from a portion of the specified array to a string.
|
* Converts the characters from a portion of the specified array to a string.
|
||||||
|
*
|
||||||
|
* @throws IndexOutOfBoundsException if either [offset] or [length] are less than zero
|
||||||
|
* or `offset + length` is out of [chars] array bounds.
|
||||||
*/
|
*/
|
||||||
public actual fun String(chars: CharArray, offset: Int, length: Int): String = fromCharArray(chars, offset, length)
|
public actual fun String(chars: CharArray, offset: Int, length: Int): String = fromCharArray(chars, offset, length)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user