diff options
author | Andreas Schneider <asn@samba.org> | 2018-12-20 08:37:32 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-02-21 02:09:33 +0000 |
commit | 3d8680e6a879c0c785e491a3fa78ba8ce86c2380 (patch) | |
tree | 3ccda8838e2abb268699ae462b43308dd03f6f90 /lib/util/tests/test_byteorder_verify.c | |
parent | aebe427b77b5315eb5d2b05b8c72824ca0389723 (diff) | |
download | samba-3d8680e6a879c0c785e491a3fa78ba8ce86c2380.tar.gz |
lib:util: Add bytearray.h
This is an implementation which doesn't have undefined behavior
problems. It casts correctly that calculations are don in the correct
integer space. Also the naming is less confusing than what we have in
byteorder.h.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util/tests/test_byteorder_verify.c')
0 files changed, 0 insertions, 0 deletions