class Cborb::Decoding::Types::Tag
To represent major type: 6
Public Class Methods
accept(im_data, type, value)
click to toggle source
# File lib/cborb/decoding/types/tag.rb, line 12 def self.accept(im_data, type, value) # Currently, decoder doesn't interpret a tag. Cborb::Decoding::TaggedValue.new(im_data, value) end
decode(state, additional_info)
click to toggle source
# File lib/cborb/decoding/types/tag.rb, line 8 def self.decode(state, additional_info) state.push_stack(self, consume_as_integer(state, additional_info)) end