D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
sysread-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads <em>integer</em> bytes from <em>ios</em> using a low-level read and returns them as a string. Do not mix with other methods that read from <em>ios</em> or you may get unpredictable results. Raises <tt>SystemCallError</tt> on error and <tt>EOFError</tt> at end of file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sysread(16) #=> "This is line one"\n" full_name: IO#sysread is_singleton: false name: sysread params: | ios.sysread(integer ) => string visibility: public