COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
include
comms
protocol
checksum
BasicXor.h
Go to the documentation of this file.
1
//
2
// Copyright 2015 - 2025 (C). Alex Robenko. All rights reserved.
3
//
4
// This Source Code Form is subject to the terms of the Mozilla Public
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
6
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
10
11
#pragma once
12
13
#include "
comms/frame/checksum/BasicXor.h
"
14
15
namespace
comms
16
{
17
18
namespace
protocol
19
{
20
21
namespace
checksum
22
{
23
26
template
<
typename
TResult = std::u
int
8_t, TResult TInitValue = 0>
27
using
BasicXor
=
comms::frame::checksum::BasicXor<TResult, TInitValue>
;
28
29
}
// namespace checksum
30
31
}
// namespace protocol
32
33
}
// namespace comms
34
35
36
comms::frame::checksum::BasicXor
Exclusive OR (XOR) of all bytes checksum calculator.
Definition
BasicXor.h:32
BasicXor.h
Contains definition of comms::frame::checksum::BasicXor.
comms
Main namespace for all classes / functions of COMMS library.
Generated by
1.9.8