Open dimitrirostavo opened 8 years ago
ByteBuffer stores strings as UTF8 bytes by default, but returns these as a standard JavaScript string, which is UTF16 basically. Do you need UTF16 bytes?
Thank you so much for your reply. Yea, I am looking for UTF16LE Byte representation of a JavaScript string.
Is there a way in ByteBuffer I can create a UTF16 string from a UTF8 string ? Would really help me a lot.
Thanks!