D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
readbytes-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads exactly <tt>n</tt> bytes. - !ruby/struct:SM::Flow::P body: If the data read is nil an EOFError is raised. - !ruby/struct:SM::Flow::P body: "If the data read is too short a TruncatedDataError is raised and the read data is obtainable via its #data method." full_name: IO#readbytes is_singleton: false name: readbytes params: (n) visibility: public