Skip to content

How to convert value returned by get_variable_boxed() into a printable str? #925

@felipebalbi

Description

@felipebalbi

Hi,

I'm experimenting with uefi-rs, specifically I want to read the BootOrder variable (and the accompanying Boot#### variables) and try to write a very minimal boot manager application. Reading the content of the variables is straightforward, but how can I convert the resulting &[u8] into something I can print to the screen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions