Method: Rex::Text.numhexify

Defined in:
lib/rex/text/hex.rb

.numhexify(str, col = DefaultWrap, line_start = '', line_end = '', buf_start = '', buf_end = '', between = '') ⇒ Object

Converts a string to hex, with each character prefixed with 0x; with wrapping support



135
136
137
# File 'lib/rex/text/hex.rb', line 135

def self.numhexify(str, col = DefaultWrap, line_start = '', line_end = '', buf_start = '', buf_end = '', between = '')
  self.hexify_general(str, "0x", col, line_start, line_end, buf_start, buf_end, between)
end