JoshuaWierenga / EfiSharp

An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.
MIT License
18 stars 4 forks source link

Random support #20

Closed JoshuaWierenga closed 3 years ago

JoshuaWierenga commented 3 years ago

Not yet finished since only Random.NextBytes is supported

JoshuaWierenga commented 3 years ago

Random.LegacyImpl.cs could probably be added if BitOperations.cs and BitConverter.cs were added. Not totally sure about the Xoshiro implementations.

Edit: The calls to BitConverter involve span which is not currently supported and while it appears possible, it is out of the scope of this pull due to the amount of code from System.Private.CoreLib required.