start: Index
end: Index
pub fn len(self: Slice) Index
self: Slice
pub fn len(self: Slice) Index { return self.end - self.start; }
pub fn view(self: Slice, bytes: []const u8) []const u8
bytes: []const u8
pub fn view(self: Slice, bytes: []const u8) []const u8 { return bytes[self.start..self.end]; }
pub const Slice = struct { start: Index, end: Index, pub fn len(self: Slice) Index { return self.end - self.start; } pub fn view(self: Slice, bytes: []const u8) []const u8 { return bytes[self.start..self.end]; } }
Press escape to exit search and then '?' to see more options.