lib/bindata/base.rb
# Reads data into this data object.
Reads data into this data object.
Reads data into this data object .
def read(io)
      io = BinData::IO.new(io) unless BinData::IO === io
      @in_read = true
      clear
      do_read(io)
      @in_read = false
      self
    end
def read ( io ) io = BinData :: IO . new ( io ) unless BinData :: IO === io @in_read = true clear do_read ( io ) @in_read = false self end
Reads data into this data object.
Reads data into this data object .
io
<not_specific>