asByteArray

fun ArrayBuffer?.asByteArray(): ByteArray?(source)

Convert JS ArrayBuffer to Kotlin ByteArray

Kotlin-JS-Types