lib/php_serialize.rb
def read_until(char)
			val, cpos = '', pos
			if idx = string.index(char, cpos)
				val = read(idx - cpos + 1)
			end
			val
		end
# Reads data from the buffer until +char+ is found. The
# returned string will include +char+.
Reads data from the buffer until +char+ is found. The
returned string will include +char+.
Reads data from the buffer until + char + is found . The returned string will include + char + .
def read_until(char)
			val, cpos = '', pos
			if idx = string.index(char, cpos)
				val = read(idx - cpos + 1)
			end
			val
		end
def read_until ( char ) val , cpos = '' , pos if idx = string . index ( char , cpos ) val = read ( idx - cpos + 1 ) end val end
Reads data from the buffer until +char+ is found.
Reads data from the buffer until + char + is found .
char