class IO::Stapled

Overview

This class staples together two unidirectional IOs to form a single, bidirectional IO.

Example (loopback):

io = IO::Stapled.new(*IO.pipe)
io.puts "linus"
io.gets # => "linus"

Most methods simply delegate to the underlying IOs.

Defined in:

perf_tools/mem_prof.cr

Class methods inherited from class Object

_fields_offsets _fields_offsets