Create a Buf.ByteBuffer by directly wrapping the provided java.nio.ByteBuffer.
Get a reference to a Buf's data as a ByteBuffer.
Get a reference to a Buf's data as a ByteBuffer.
A copy may be performed if necessary.
Extract the buffer's underlying java.nio.ByteBuffer.
Non-copying constructors and extractors for Buf.ByteBuffer.
The "owned" APIs may provide direct access to a Buf's underlying implementation; and so mutating the underlying data structure invalidates a Buf's immutability constraint. Users must take care to handle this data immutably.
Shared for analogs that make defensive copies.