class Net::SSH::Buffer
def write_int64(*n)
64-bit integer (8 bytes). Does not alter the read position. Returns the
Writes each argument to the buffer as a network-byte-order-encoded
def write_int64(*n) n.each do |i| hi = (i >> 32) & 0xFFFFFFFF lo = i & 0xFFFFFFFF @content << [hi, lo].pack("N2") end self end