관리-도구
편집 파일: read-i.ri
U:RDoc::AnyMethod[iI" read:ETI" Rackup::Stream::Reader#read;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"Gread behaves like IO#read. Its signature is read([length, [buffer]]). If given, length must be a non-negative Integer (>= 0) or nil, and buffer must be a String and may not be nil. If length is given and not nil, then this method reads at most length bytes from the input stream. If length is not given or nil, then this method reads all data until EOF. When EOF is reached, this method returns nil if length is given and not nil, or “” if length is not given or is nil. If buffer is given, then the read data will be placed into buffer instead of a newly created String object. ;TI"8@param length [Integer] the amount of data to read ;TI"C@param buffer [String] the buffer which will receive the data ;TI")@return a buffer containing the data;T: @fileI"lib/rackup/stream.rb;T:0@omit_headings_from_table_of_contents_below000[ I"!(length = nil, buffer = nil);T@FI"Reader;TcRDoc::NormalModule00