Class: BareTypes::Void

Inherits:
BarePrimitive show all
Defined in:
lib/types.rb

Instance Method Summary collapse

Methods inherited from BarePrimitive

#==, #finalize_references, #to_schema

Methods inherited from BaseType

#cycle_search, #initialize

Constructor Details

This class inherits a constructor from BareTypes::BaseType

Instance Method Details

#decode(msg) ⇒ Object



174
175
176
# File 'lib/types.rb', line 174

def decode(msg)
  return nil, msg
end

#encode(msg, buffer) ⇒ Object



170
171
172
# File 'lib/types.rb', line 170

def encode(msg, buffer)
  buffer << "".b
end