Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

UTF16 Buffer #62

Open
Open

Description

@dimitrirostavo

Is there a way in ByteBuffer I can create a UTF16 string from a UTF8 string ? Would really help me a lot.

Thanks!

Activity

  1. dcodeIO commented on Nov 3, 2015

    @dcodeIO
    Member

    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?

  2. dimitrirostavo commented on Nov 3, 2015

    @dimitrirostavo
    Author

    Thank you so much for your reply. Yea, I am looking for UTF16LE Byte representation of a JavaScript string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions