pub fn setPosition(self: *File, position: u64) SeekError!void
self: *File
position: u64
181 182 183 184 185 186 187 188
pub fn setPosition(self: *File, position: u64) SeekError!void { switch (self._set_position(self, position)) { .success => {}, .unsupported => return error.Unsupported, .device_error => return error.DeviceError, else => |status| return uefi.unexpectedStatus(status), } }