Module: Sappho::LogUtilities

Defined in:
lib/sappho-basics/auto_flush_log.rb

Instance Method Summary collapse

Instance Method Details

#hexString(bytes) ⇒ Object



82
83
84
# File 'lib/sappho-basics/auto_flush_log.rb', line 82

def hexString bytes
  (bytes.collect {|byte| "%02x " % (byte & 0xFF)}).join
end