40 41 42 43 44
# File 'lib/codec/fix.rb', line 40 def build_field(buf,length) f = Field.new(@id) f.set_value(buf[0,length].to_i) return f end