get_byte()
Instance Public methods
Scans one byte and returns it. This method is not multibyte character sensitive. See also: getch.
s = StringScanner.new('ab') s.get_byte # => "a" s.get_byte # => "b" s.get_byte # => nil $KCODE = 'EUC' s = StringScanner.new("\244\242") s.get_byte # => "\244" s.get_byte # => "\242" s.get_byte # => nil
Please login to continue.