module BytesHelper

Public Instance Methods

b_to_h( str )
Alias for: bytes_to_hex
btoh( str )
Alias for: bytes_to_hex
bytes_to_hex( str ) click to toggle source
# File lib/bytes.rb, line 72
def bytes_to_hex( str ) Bytes.to_hex( str ); end
Also aliased as: b_to_h, btoh
h_to_b( hexstr )
Alias for: hex_to_bytes
hex_to_bytes( hexstr ) click to toggle source
# File lib/bytes.rb, line 68
def hex_to_bytes( hexstr ) Bytes.from_hex( hexstr); end
Also aliased as: h_to_b, htob
htob( hexstr )
Alias for: hex_to_bytes