← Docs
kotlin-stdlib / kotlin.native / setFloatAt

setFloatAt

Native
1.3
@ExperimentalNativeApi fun ByteArray . setFloatAt (
index : Int ,
value : Float )

(source)

Sets Float out of the ByteArray byte buffer at specified index index

Exceptions

IndexOutOfBoundsException - if index is outside of array boundaries.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .