instance method
Pathname#binread
(?::Integer length, ?::Integer offset) -> ::String
binread(...)
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 881
def binread(...) File.binread(@path, ...) end
See File.binread. Returns all the bytes from the file, or the first N if specified.