Function ownBytes

Copy exact borrowed bytes into immutable owned storage.

immutable(ubyte)[] ownBytes(
  scope const(ubyte)[] bytes
) @safe;