Function testString [src]
Verifies that all characters in a string can be output to the target device.
Prototype
pub fn testString(self: *const SimpleTextOutput, msg: [*:0]const u16) uefi.UnexpectedError!bool
Parameters
self: *const SimpleTextOutput
msg: [*:0]const u16
Source
pub fn testString(self: *const SimpleTextOutput, msg: [*:0]const u16) uefi.UnexpectedError!bool {
switch (self._test_string(self, msg)) {
.success => return true,
.unsupported => return false,
else => |status| return uefi.unexpectedStatus(status),
}
}