public static unsafe NSData ToNSData(this NativeSlice <byte> bytes) => NSData.CreateWithBytes(bytes.GetUnsafeReadOnlyPtr(), bytes.Length);
public static unsafe NSData ToNSData(this NativeSlice <byte> bytes) => NSData.CreateWithBytes(bytes.GetUnsafeReadOnlyPtr(), bytes.Length);