Skip to content
instance method

Pathname#binread

(?::Integer length, ?::Integer offset) -> ::String
binread(...)

See File.binread. Returns all the bytes from the file, or the first N if specified.

See also #basename #binwrite #atime #birthtime also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0