Improve javadocs for MemorySegment::getStrings defining word boundary cases

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 26
    • Affects Version/s: 22, 23, 24, 25
    • Component/s: core-libs

      The MemorySegment::getString overloads should specify how words (e.g. double and quad bytes) are handled in cases where there are no exact matches in size for 16 and 32-bit coded strings (i.e., the last reminder is not looked upon).

      Also, multi-byte coding only looks at nulls that are aligned with the particular coding boundaries (e.g. looking for byte {0, 0} only occurs at 16-bit boundaries for UTF-16)

            Assignee:
            Per-Ake Minborg
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: