I’m trying to create an uefi application for a side project in Zig 0.16.0.
I am trying to use std.elf.Header.iterateProgramHeaders but the problem is that this functions recieves a new std.Io.File.Reader as a parameter, and the std.os.uefi.protocol.File struct removed the reader() method. Now you only have a read() that writes on a buffer.
I’ve searched for an implementation of a reader and I found nothing.
Does any body know how to convert a std.os.uefi.protocol.File to the new std.Io.File?
I’m not sure why it was removed but would reading the UEFI to a buffer and then using Zig Documentation work?