Server IP : 192.64.118.117 / Your IP : 18.223.158.66 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/IO/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads at most <em>length</em> bytes from the I/O stream, or to the end of file if <em>length</em> is omitted or is <tt>nil</tt>. <em>length</em> must be a non-negative integer or nil. If the optional <em>buffer</em> argument is present, it must reference a String, which will receive the data. - !ruby/struct:SM::Flow::P body: At end of file, it returns <tt>nil</tt> or <tt>""</tt> depend on <em>length</em>. <tt><em>ios</em>.read()</tt> and <tt><em>ios</em>.read(nil)</tt> returns <tt>""</tt>. <tt><em>ios</em>.read(<em>positive-integer</em>)</tt> returns nil. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.read(16) #=> "This is line one"\n" full_name: IO#read is_singleton: false name: read params: | ios.read([length [, buffer]]) => string, buffer, or nil visibility: public