# File lib/rumai/ixp/transport.rb, line 241
        def write aContent
          raise 'closed streams cannot be written to' if @closed
          raise 'directories cannot be written to' if @stat.directory?

          offset = 0
          content = aContent.to_s

          while offset < content.length
            chunk = content[offset, @msize]

            req = Twrite.new(
              :fid    => @fid,
              :offset => offset,
              :count  => chunk.length,
              :data   => chunk
            )
            rsp = @agent.talk(req)

            offset += rsp.count
          end
        end