Class: Universa::Safe58
- Inherits:
-
RemoteAdapter
- Object
- Delegator
- RemoteAdapter
- Universa::Safe58
- Defined in:
- lib/universa/contract.rb
Overview
Safe58 allows human-friendly binary-to-characters codec. It automatically corrects recognition errors like 0 instead of 0 and 1 instead of I. The code does not use characters that look alike and uses only encglish letters and digits that also simplify select-copy-paste routine.
important! arguments MUST be binary strings, so use
str.force_encoding('binary')
as need, otherwise it will not work as expected.
Method Summary
Methods inherited from RemoteAdapter
#__getobj__, #__setobj__, #initialize, #inspect, invoke_static, remote_class, remote_class_name, remote_field, static_method, #to_s
Constructor Details
This class inherits a constructor from Universa::RemoteAdapter