diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-23 12:42:01 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-12-03 19:46:26 +0100 |
commit | b77ee60ae34430fb25b05361ddde33565ab65678 (patch) | |
tree | ecaae7ec4e8e2f84e8a681999bfac32a4a3e740e /libs | |
parent | 453a68145bc28a8464efedc055dd43359dd8a8a7 (diff) |
decoder/encoder: simplification of code.
- Useless tests removed
- Bit operation changed to more readable ones
- Handle correctly mask to decode signal on 1 byte or in-between bytes more clearly.
- using static_cast now instead of C casting method.
- Avoid manual vector initialization and using default constructors instead.
- Avoid using intermediate variables when this isn't necessary.
Change-Id: I049d65f460109772b57df7572bdac8e6500242e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions