class IO::FileDescriptor

Overview

An IO over a file descriptor.

Included Modules

Direct Known Subclasses

Defined in:

stdlib/file.cr

Instance Method Summary

Instance methods inherited from module IO::Evented

evented_sendfile(limit : Int, errno_msg : String, &) : Int64 evented_sendfile

Instance methods inherited from class IO

skip(bytes_count : Int) : Int64 skip, skip_to_end : Int64 skip_to_end

Class methods inherited from class IO

copy(src, dst, limit : Int) : Int64
copy(src, dst) : Int64
copy

Instance Method Detail

def copy_range_from(src : self, length : Int) : Int64 #

In-kernel copy between two file descriptors using the copy_file_range syscall


[View source]
def write_at(buffer, offset) : Int64 #

[View source]