public static Bytes new_with_owner<T> (uint8? data, owned T owner = null)
Creates a Bytes from
When the last reference is dropped,
free_func will be called with the
data must not be modified after this call is made until
free_func has been called to indicate that the bytes is no
longer in use.
data may be null if
data.length is 0.
the data to be used for the bytes
the function to call to release the data
the size of
data to pass to
a new Bytes