Sha256: 00b9c722852372778d97807cccf56645c5de19ef7786357e590920c94dc49d44

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

module Cborb::Decoding::Types
  # The pseudo type to represent unknown/invalid initial byte
  class Unknown < Type
    def self.decode(state, additional_info)
      raise Cborb::DecodingError, "Unknown initial byte"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cborb-0.3.0 lib/cborb/decoding/types/unknown.rb
cborb-0.2.0 lib/cborb/decoding/types/unknown.rb
cborb-0.1.0 lib/cborb/decoding/types/unknown.rb