class TFTP::Packet::RRQ
Public Instance Methods
to_str()
click to toggle source
Convert to binary string.
# File lib/tftp/tftp.rb, line 26 def to_str; "\x00\x01" + self.filename + "\x00" + self.mode.to_s + "\x00"; end