class

Thrift::Transport::BaseTransport

Inherits IO < Reference < Object

BaseTransport is a Thrift Compatible IO

Instance methods

close

Closes this IO.

IO defines this is a no-op method, but including types may override.

Source
flush

Flushes buffered data, if any.

IO defines this is a no-op method, but including types may override.

Source
open
Source
open?
Source
read_byte

Reads a single byte from this IO. Returns nil if there is no more data to read.

io = IO::Memory.new "a"
io.read_byte # => 97
io.read_byte # => nil
Source
to_io
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source