class Net::SSH::Buffer
def write_bool(*b)
meaning true, and 0 meaning false. Does not alter the read position.
Writes each argument to the buffer as a (C-style) boolean, with 1
def write_bool(*b) b.each { |v| @content << (v ? "\1" : "\0") } self end