ona/src/oar.zig
kayomn 9ae6e8b4a7
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Implement first pass of Oar archive reading mechanism
2022-10-09 23:10:13 +01:00

15 lines
368 B
Zig

const std = @import("std");
const sys = @import("./sys.zig");
///
/// An entry block of an Oar archive file.
///
/// Typically, following this block in memory is the file data it holds the meta-information for.
///
pub const Entry = extern struct {
name_length: u8,
name_buffer: [255]u8 = std.mem.zeroes([255]u8),
file_size: u64,
padding: [248]u8,
};