class Net::SSH::Buffer

def read_bool

(i.e., zero is false, non-zero is true).
Read a single byte and convert it into a boolean, using 'C' rules
def read_bool
  b = read_byte or return nil
  b != 0
end