Method: HTML5::EncodingBytes#find_next
- Defined in:
- lib/html5/inputstream.rb
#find_next(byte_list) ⇒ Object
Move the pointer so it points to the next byte in a set of possible bytes
471 472 473 474 475 |
# File 'lib/html5/inputstream.rb', line 471 def find_next(byte_list) until byte_list.include?(current_byte) @position += 1 end end |