Update: Updated InputParser with peekNextRead method that allows for
updating next expected read char.