Method: Rex::Java::Serialization::Model::BlockDataLong#to_s
- Defined in:
- lib/rex/java/serialization/model/block_data_long.rb
#to_s ⇒ String
Creates a print-friendly string representation
62 63 64 65 66 67 |
# File 'lib/rex/java/serialization/model/block_data_long.rb', line 62 def to_s contents_hex = [] contents.each_byte {|byte| contents_hex << "0x#{byte.to_s(16)}" } "[ #{contents_hex.join(', ')} ]" end |