Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/bytes.rb
Instance Method Summary collapse
-
#b_to_h ⇒ Object
(also: #btoh, #h)
add .b-like shortcut.
- #h_to_b ⇒ Object (also: #htob)
Instance Method Details
#b_to_h ⇒ Object Also known as: btoh, h
add .b-like shortcut
83 |
# File 'lib/bytes.rb', line 83 def b_to_h() Bytes.to_hex( self ); end |
#h_to_b ⇒ Object Also known as: htob
80 |
# File 'lib/bytes.rb', line 80 def h_to_b() Bytes.from_hex( self ); end |