Module: Sappho::LogUtilities

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

Instance Method Summary collapse

Instance Method Details

#hexString(bytes) ⇒ Object



99
100
101
# File 'lib/sappho-basics/auto_flush_log.rb', line 99

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