23 lines
751 B
C++
23 lines
751 B
C++
// Copyright (2019-2022) Paul Scherrer Institute
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#ifndef JUNGFRAUJOCH_CBORUTIL_H
|
|
#define JUNGFRAUJOCH_CBORUTIL_H
|
|
|
|
#include "tinycbor/src/cbor.h"
|
|
|
|
constexpr const CborTag TagMultiDimArray = 40;
|
|
constexpr const CborTag TagDECTRISCompression = 56500;
|
|
|
|
constexpr const CborTag TagFloatLE = 0b01010101;
|
|
constexpr const CborTag TagUnsignedInt8Bit = 0b01000000;
|
|
constexpr const CborTag TagSignedInt8Bit = 0b01001000;
|
|
|
|
constexpr const CborTag TagUnsignedInt16BitLE = 0b01000101;
|
|
constexpr const CborTag TagSignedInt16BitLE = 0b01001101;
|
|
|
|
constexpr const CborTag TagUnsignedInt32BitLE = 0b01000110;
|
|
constexpr const CborTag TagSignedInt32BitLE = 0b01001110;
|
|
|
|
#endif //JUNGFRAUJOCH_CBORUTIL_H
|