Class: SigMessage
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- SigMessage
- Defined in:
- lib/sr25519_lib.rb
Instance Method Summary collapse
-
#to_s ⇒ Object
Return the sign message as hex string.
Instance Method Details
#to_s ⇒ Object
Return the sign message as hex string
61 62 63 |
# File 'lib/sr25519_lib.rb', line 61 def to_s self[:String].to_a.pack("c*").unpack1("H*") end |