A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
One way I've had success saving binary data as a local file on a mobile device is to convert the data to Byte[], base64 encode that, and set a preference with that string as the value:
Xamarin.Essentials.Preferences.Set(nameOfPreference, System.Convert.ToBase64String(imageDataAsByteArray);