pub fn getPosition(self: *const File) SeekError!u64 self: *const File171
172
173
174
175
176
177
178
179 pub fn getPosition(self: *const File) SeekError!u64 {
var position: u64 = undefined;
switch (self._get_position(self, &position)) {
.success => return position,
.unsupported => return error.Unsupported,
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}