String.getBytes with Charset to array or MemorySegment

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Encoding a string to a pre-existing array or MemorySegment can avoid creating intermediate arrays and efficient pack buffers.

      For example, the existing APIs to UTF8 encode a string create one or more byte arrays depending on the encoding and string characters.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: