Class: AbiCoderRb::Bytes

Inherits:
Type
  • Object
show all
Defined in:
lib/abi_coder_rb/types.rb

Overview

class Address

Instance Method Summary collapse

Methods inherited from Type

#dynamic?, parse

Instance Method Details

#==(other) ⇒ Object



62
63
64
# File 'lib/abi_coder_rb/types.rb', line 62

def ==(other)
  other.is_a?(Bytes)
end

#formatObject



58
59
60
# File 'lib/abi_coder_rb/types.rb', line 58

def format
  "bytes"
end

#sizeObject

note: dynamic (not known at compile-time)



54
55
56
# File 'lib/abi_coder_rb/types.rb', line 54

def size
  nil
end