Class: Cborb::Decoding::Types::Integer
- Extended by:
- IntegerDecodable
- Defined in:
- lib/cborb/decoding/types/integer.rb
Overview
To represent major type: 0
Constant Summary
Constants included from IntegerDecodable
Cborb::Decoding::Types::IntegerDecodable::UNPACK_TEMPLATES
Class Method Summary collapse
Methods included from IntegerDecodable
Methods inherited from Type
Class Method Details
.decode(state, additional_info) ⇒ Object
8 9 10 |
# File 'lib/cborb/decoding/types/integer.rb', line 8 def self.decode(state, additional_info) state.accept_value(self, consume_as_integer(state, additional_info)) end |