<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <font face="monospace" size="4">That does seem like a more
      future-proof choice.  (I suspect too it would be less intrusive to
      adapt the internals to MS than BB.)</font><br>
    <br>
    <div class="moz-cite-prefix">On 3/12/2025 11:53 AM, Maurizio
      Cimadamore wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:16a12929-7ba7-417c-a8f4-aa0f04e5e11e@oracle.com">
      <br>
      On 10/03/2025 17:52, Brian Goetz wrote:
      <br>
      <blockquote type="cite">My first reaction is that the first seems
        fine in theory
        <br>
      </blockquote>
      <br>
      I wonder if an API accepting a MemorySegment would be more general
      -- you can construct a MS from a BB and you can of course go from
      MS to byte[] (which is what the impl needs). So I wonder if that
      would be more future-proof. (We can, of course, also provide
      both).
      <br>
      <br>
      Maurizio
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>