Top Level Namespace

Defined Under Namespace

Modules: HTTP Classes: ParserTest

Constant Summary collapse

Http =
HTTP

Instance Method Summary collapse

Instance Method Details

#printbytes(str) ⇒ Object



3
4
5
6
7
# File 'ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb', line 3

def printbytes str
str.each_byte { |b|
	print "0x#{b.to_s(16)}, "
}
end