sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 75 forks source link

confused value type for ArrayBuffer #122

Closed armersong closed 2 years ago

armersong commented 2 years ago

I found the value of arraybuffer is T_STRING when it is passed from js to native function, i think it should be T_BYTES. Could you help me to find what is wrong? detail: https://sciter.com/forums/topic/confused-value-type-for-arraybuffer/

thanks!

pravic commented 2 years ago

By I know that API will pass new ArrayBuffer(100) as VALUE/T_BYTES

Interesting. Yeah, I'd check that.

pravic commented 2 years ago

Well, for me it also claims that it is T_STRING: https://sciter.com/forums/topic/confused-value-type-for-arraybuffer/#post-74087