W3cubDocs

/Kotlin

stringLengthBytes

Platform and version requirements: Native (1.3)
fun stringLengthBytes(message: String): Int

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.wasm.jsinterop/string-length-bytes.html