Javadoc
This method is used to scan for the terminal token. It searches
for the token and returns the number of bytes in the buffer
after the terminal token. Returning the excess bytes allows the
consumer to reset the bytes within the consumer object.