BytesLikeBytes extension

Converts a BytesLike implementation to a zero-copy Bytes view.

on

Methods

toBytes() → Bytes

Available on BytesLike, provided by the BytesLikeBytes extension

Zero-copy conversion; returns the same instance when this is already a Bytes.