Class: BareTypes::Void
- Inherits:
-
BarePrimitive
- Object
- BaseType
- BarePrimitive
- BareTypes::Void
- Defined in:
- lib/types.rb
Instance Method Summary collapse
Methods inherited from BarePrimitive
#==, #finalize_references, #to_schema
Methods inherited from BaseType
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 |