Function getByteOffset [src]
Starts at 0. Measures the byte offset since the start of the input.
Prototype
pub fn getByteOffset(self: *const @This()) u64
Parameters
self: *const @This()
Source
pub fn getByteOffset(self: *const @This()) u64 {
return self.total_bytes_before_current_input + self.cursor_pointer.*;
}