from_buffer (Net::SFTP::Protocol::V01::Attributes)

    # File lib/net/sftp/protocol/01/attributes.rb, line 59
          def from_buffer(buffer)
            flags = buffer.read_long
            data = {}

            elements.each do |name, type, condition|
              if flags & condition == condition
                if type == :special
                  data[name] = send("parse_#{name}", buffer)
                else
                  data[name] = buffer.send("read_#{type}")
                end
              end
            end

            new(data)
          end