class

Alys::Internal::EventlessFd

Inherits Reference < Object

Not IO because that introduces a circular dependency where IO methods require the current fiber to be initialized which requires the GC.

Constructors

new(fd : Int32, *, autoclose : Bool)
Source

Class methods

open(file : String)
Source

Instance methods

finalize
Source
pos

useful for debugging

Source
write(slice : Bytes) : Nil
Source
write_byte(byte : UInt8)
Source
write_bytes(value : T, format : IO::ByteFormat) forall T
Source