Erik
08/13/2021, 5:42 PMReferenceError: Buffer is not defined
I can reproduce it here: https://pl.kotl.in/AklbZ91yN
How do I proceed to...
• ... solve this issue locally?
• ... report this reproducible bug?turansky
08/13/2021, 5:52 PMBuffer - alias for JS ArrayBuffer
js("Buffer") - why not kotlin.Buffer ?Erik
08/13/2021, 5:55 PMturansky
08/13/2021, 6:05 PMnodejs target?Erik
08/13/2021, 6:07 PMErik
08/13/2021, 6:07 PMturansky
08/13/2021, 6:11 PMbrowser target usedturansky
08/13/2021, 6:12 PMBuffer
Browser - JS ArrayBuffer or kotlin.BufferErik
08/13/2021, 6:26 PMErik
08/13/2021, 6:27 PMnodejs target, but if you follow the tutorial and create a project from scratch, you end up with a browser JS targetErik
08/13/2021, 7:02 PMArrayBuffer or kotlin.Buffer, as I only can find https://kotlinlang.org/api/latest/jvm/stdlib/org.khronos.webgl/-array-buffer/ from the org.khronos.webgl package, which is likely not what you're referring to? And I can't find anything about kotlin.Bufferturansky
08/13/2021, 7:23 PMBuffer from Ktor IO (mixed with kotlin.ByteArray)turansky
08/13/2021, 7:25 PMyou end up with aLooks like an issueJS targetbrowser
Erik
08/17/2021, 7:39 AMErik
09/10/2021, 2:11 PM