Use offset into parser buffer to avoid potential heap overflow.