05nelsonm / kmp-file

A very simple File API for Kotlin Multiplatform. It gets the job done.
Apache License 2.0
3 stars 0 forks source link

`Buffer.wrap` on ``Node.js` throws `IOException` if it is empty #41

Closed 05nelsonm closed 9 months ago

05nelsonm commented 9 months ago

message: "Attempt to access memory outside buffer bounds"

This is because of the 0 index check to ensure that it is in fact a js buffer.