Method: HTML5::EncodingBytes#current_byte

Defined in:
lib/html5/inputstream.rb

#current_byteObject

Raises:



434
435
436
437
# File 'lib/html5/inputstream.rb', line 434

def current_byte
  raise EOF if @position >= length
  return self[@position].chr
end