Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8227394

Add MemorySegment::asByteBuffer convenience method

    XMLWordPrintable

Details

    Description

      We currently have the MemoryAddress::asByteBuffer method, which creates a ByteBuffer starting at the given address and with a given size.

      We could add a convenience method to MemorySegment for creating a ByteBuffer with the same size as the memory segment.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: