You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2026. It is now read-only.
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?
Activity
dcodeIO commentedon Nov 3, 2015
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?
dimitrirostavo commentedon Nov 3, 2015
Thank you so much for your reply. Yea, I am looking for UTF16LE Byte representation of a JavaScript string.