Class HTTP::FormData::CompositeIO
In: lib/http/form_data/composite_io.rb
Parent: Object

Provides IO interface across multiple IO objects.

Methods

new   read   rewind   size  

Public Class methods

@param [Array<IO>] ios Array of IO objects

Public Instance methods

Reads and returns partial content acrosss multiple IO objects.

@param [Integer] length Number of bytes to retrieve @param [String] outbuf String to be replaced with retrieved data

@return [String, nil]

Rewinds all IO objects and set cursor to the first IO object.

Returns sum of all IO sizes.

[Validate]