working on iterator
This commit is contained in:
@@ -25,7 +25,7 @@ pub const ShellReader = struct {
|
||||
}
|
||||
|
||||
// get returns a shell at the given index.
|
||||
pub fn get(self: *const ShellReader, idx: u10) []const u8 {
|
||||
pub fn get(self: *const ShellReader, idx: u6) []const u8 {
|
||||
const shellIndex = self.sectionIndex[idx];
|
||||
const start = shellIndex.offset << 2;
|
||||
const end = start + shellIndex.len + 1;
|
||||
|
||||
Reference in New Issue
Block a user