Sha256: 79539b48cd6fd539266f16231e5db33ad614ede7905fa650cc543984b3c2de3d
Contents?: true
Size: 487 Bytes
Versions: 3
Compression:
Stored size: 487 Bytes
Contents
module Cborb::Decoding::Types # To represent major type: 6 # # @see https://tools.ietf.org/html/rfc7049#section-2.1 class Tag < Type extend Cborb::Decoding::Types::IntegerDecodable def self.decode(state, additional_info) state.push_stack(self, consume_as_integer(state, additional_info)) end def self.accept(im_data, type, value) # Currently, decoder doesn't interpret a tag. Cborb::Decoding::TaggedValue.new(im_data, value) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cborb-0.3.0 | lib/cborb/decoding/types/tag.rb |
cborb-0.2.0 | lib/cborb/decoding/types/tag.rb |
cborb-0.1.0 | lib/cborb/decoding/types/tag.rb |