Sha256: d247de1f93126140bc0008b6034c121c034932ab1b02d089a1c20a48b9955bfe

Contents?: true

Size: 182 Bytes

Versions: 37

Compression:

Stored size: 182 Bytes

Contents


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

if $0 == __FILE__
	printf "static final byte [] #{ARGV[0]} = {\n"
	printbytes ARGV[0]
	printf "\n};\n"
end

Version data entries

37 entries across 37 versions & 7 rubygems

Version Path
http_parser.rb-0.6.0.beta.1 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.3 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.3-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.3-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.3-java ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.2-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.2-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.2 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.2-java ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.1 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.1-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.1-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.1-java ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.0 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.0-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.0-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
http_parser.rb-0.5.0-java ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb