Remove redundant @OptIn

This commit is contained in:
Abduqodiri Qurbonzoda
2021-04-12 15:44:52 +03:00
parent f253b1fb15
commit 3a8d1c4b5e
10 changed files with 1 additions and 17 deletions
@@ -571,7 +571,6 @@ public fun CPointer<IntVar>.toKStringFromUtf32(): String {
*
* Malformed byte sequences are replaced by the replacement char `\uFFFD`.
*/
@OptIn(ExperimentalStdlibApi::class)
@SinceKotlin("1.3")
public fun ByteArray.toKString() : String {
val realEndIndex = realEndIndex(this, 0, this.size)
@@ -590,7 +589,6 @@ public fun ByteArray.toKString() : String {
* @throws IllegalArgumentException if [startIndex] is greater than [endIndex].
* @throws CharacterCodingException if the byte array contains malformed UTF-8 byte sequence and [throwOnInvalidSequence] is true.
*/
@OptIn(ExperimentalStdlibApi::class)
@SinceKotlin("1.3")
public fun ByteArray.toKString(
startIndex: Int = 0,