Method: Codec::Numstr#build_field

Defined in:
lib/codec/fix.rb

#build_field(buf, f, length) ⇒ Object



68
69
70
# File 'lib/codec/fix.rb', line 68

def build_field(buf, f, length)
  f.set_value(buf.slice!(0...length).to_i)
end