# File lib/geo_ruby/simple_features/ewkb_parser.rb, line 158 def decode_hex(hexewkb) result="" num_bytes = (hexewkb.size + 1) / 2 0.upto(num_bytes-1) do |i| result << hexewkb[i*2,2].hex end result end