class TFTP::Packet::ERROR
Public Instance Methods
to_str()
click to toggle source
# File lib/tftp/tftp.rb, line 52 def to_str; "\x00\x05" + [self.code].pack('n') + self.msg + "\x00"; end
# File lib/tftp/tftp.rb, line 52 def to_str; "\x00\x05" + [self.code].pack('n') + self.msg + "\x00"; end