Method: BinData::Struct#do_write

Defined in:
lib/bindata/struct.rb

#do_write(io) ⇒ Object

:nodoc



143
144
145
146
# File 'lib/bindata/struct.rb', line 143

def do_write(io) #:nodoc
  instantiate_all_objs
  @field_objs.each { |f| f.do_write(io) if include_obj_for_io?(f) }
end