LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
bithelper.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_BITHELPER_HPP
8#define LOGICALACCESS_BITHELPER_HPP
9
12
13namespace logicalaccess
14{
18class LLA_CORE_API BitHelper
19{
20 public:
30 static BitsetStream align(const BitsetStream &data, unsigned int dataLengthBits);
31
32
43 static BitsetStream revert(const BitsetStream &data, unsigned int dataLengthBits);
44
54 static BitsetStream truncateLittleEndian(const BitsetStream &data,
55 unsigned int dataLengthBits);
56
65 static BitsetStream swapBytes(const BitsetStream &data);
66
79 static BitsetStream extract(const BitsetStream &data, unsigned int readPosBits,
80 unsigned int readLengthBits);
81};
82}
83
84#endif /* LOGICALACCESS_BITHELPER_HPP */
A Bit Helper.
Definition: bithelper.hpp:19
Definition: BitsetStream.hpp:15
Definition: asn1.hpp:9
Reader provider.