Owned non-copying constructors/extractors for Buf.ByteArray.
Safe copying constructors / extractors for Buf.ByteArray.
Construct a buffer representing the given bytes.
Safely coerce a buffer to a Buf.ByteArray, potentially without copying its underlying data.
Construct a buffer representing the provided array of bytes at the given offsets without copying.
Construct a buffer representing the provided array of bytes at the given offsets without copying.
(Since version 6.23.0) Use Buf.ByteArray.Shared or Buf.ByteArray.Owned.
Construct a buffer representing the provided array of bytes without copying.
Construct a buffer representing the provided array of bytes without copying.
(Since version 6.23.0) Use Buf.ByteArray.Shared or Buf.ByteArray.Owned.
Extract a ByteArray's underlying data and offsets.
Extract a ByteArray's underlying data and offsets.
(Since version 6.23.0) Use Buf.ByteArray.Shared or Buf.ByteArray.Owned.