Class: Scale::Types::VecH512Length2
- Inherits:
-
Object
- Object
- Scale::Types::VecH512Length2
show all
- Includes:
- Base
- Defined in:
- lib/scale/types.rb
Instance Attribute Summary
Attributes included from Base
#value
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Base
#==, included, #initialize, #to_human
Class Method Details
.decode(scale_bytes) ⇒ Object
928
929
|
# File 'lib/scale/types.rb', line 928
def self.decode(scale_bytes)
end
|
Instance Method Details
#encode ⇒ Object
931
932
933
934
935
|
# File 'lib/scale/types.rb', line 931
def encode
"0x" + self.value.map do |item|
item[2..]
end.join
end
|