Sha256: 9eaa005d006fa7611c4bd5cc8cd2e01bdff635e08335fce781bcb74670494caf

Contents?: true

Size: 642 Bytes

Versions: 7

Compression:

Stored size: 642 Bytes

Contents

// Copyright (c) 2017-2022 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/

#ifndef TAO_JSON_CBOR_INTERNAL_MAJOR_HPP
#define TAO_JSON_CBOR_INTERNAL_MAJOR_HPP

#include <cstdint>

namespace tao::json::cbor::internal
{
   enum class major : std::uint8_t
   {
      UNSIGNED = 0,
      NEGATIVE = 0x20,
      BINARY = 0x40,
      STRING = 0x60,
      ARRAY = 0x80,
      OBJECT = 0xa0,
      TAG = 0xc0,
      OTHER = 0xe0
   };

   static constexpr std::uint8_t major_mask = 0xe0;
   static constexpr std::uint8_t minor_mask = 0x1f;

}  // namespace tao::json::cbor::internal

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.4.4 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.4.3 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.4.2 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.4.1 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.4.0 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp
couchbase-3.3.0 ext/couchbase/third_party/json/include/tao/json/cbor/internal/major.hpp