Class: AbiCoderRb::Bytes

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

Instance Method Summary collapse

Methods inherited from Type

#dynamic?, parse

Instance Method Details

#==(other) ⇒ Object



39
40
41
# File 'lib/abi_coder_rb/type/types.rb', line 39

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

#formatObject



35
36
37
# File 'lib/abi_coder_rb/type/types.rb', line 35

def format
  "bytes"
end

#sizeObject



31
32
33
# File 'lib/abi_coder_rb/type/types.rb', line 31

def size
  nil
end