HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/IO/copy_stream-c.ri
U:RDoc::AnyMethod[iI"copy_stream:ETI"IO::copy_stream;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"5IO.copy_stream copies <i>src</i> to <i>dst</i>. ;TI"J<i>src</i> and <i>dst</i> is either a filename or an IO-like object. ;TI"EIO-like object for <i>src</i> should have #readpartial or #read ;TI"Gmethod.  IO-like object for <i>dst</i> should have #write method. ;TI"H(Specialized mechanisms, such as sendfile system call, may be used ;TI"on appropriate situation.);To:RDoc::Markup::BlankLineo;
;	[I"4This method returns the number of bytes copied.;T@o;
;	[
I"*If optional arguments are not given, ;TI"'the start position of the copy is ;TI"&the beginning of the filename or ;TI"(the current file offset of the IO. ;TI"5The end position of the copy is the end of file.;T@o;
;	[I"%If <i>copy_length</i> is given, ;TI"6No more than <i>copy_length</i> bytes are copied.;T@o;
;	[I"$If <i>src_offset</i> is given, ;TI"1it specifies the start position of the copy.;T@o;
;	[I"-When <i>src_offset</i> is specified and ;TI"<i>src</i> is an IO, ;TI"9IO.copy_stream doesn't move the current file offset.;T:
@fileI"	io.c;T:0@omit_headings_from_table_of_contents_below0I"vIO.copy_stream(src, dst)
IO.copy_stream(src, dst, copy_length)
IO.copy_stream(src, dst, copy_length, src_offset)
;T0[I"(p1, p2, p3 = v3, p4 = v4);T@+FI"IO;TcRDoc::NormalClass00