Michael Munday
5158b3f484
utils::crc: introduce process_le/be(T) methods
...
Replace the oblique process(T) overloads for integer types with
explicit process_le/be(T) methods that would interpret the given integer
as a stream of bytes using the corresponding endiannes.
For instance
process_le(0x11223344) would treat this integer as the following array of bytes:
{0x44, 0x33, 0x22, 0x11}.
process_be(0x11223344) on the other hand would treat this integer as if it's
{0x11, 0x22, 0x33, 0x44}.
Signed-off-by: Vlad Zolotarov <vladz@scylladb.com >
2017-12-08 10:12:21 -05:00
..
2017-12-05 10:18:53 +02:00
2017-11-23 16:45:54 +00:00
2017-11-27 20:27:42 +01:00
2017-12-06 14:39:40 -05:00
2017-12-06 14:39:40 -05:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-04 17:42:23 -08:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-06 09:39:56 +01:00
2017-11-15 23:22:42 -05:00
2017-11-15 23:22:42 -05:00
2017-12-08 10:12:21 -05:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-28 12:38:28 +01:00
2017-12-05 14:47:46 +00:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-09-18 12:44:05 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-08-28 21:00:06 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-04 07:57:43 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-13 20:55:14 +01:00
2017-12-01 10:52:37 +01:00
2017-11-27 20:27:42 +01:00
2017-11-13 20:55:14 +01:00
2017-12-07 16:42:48 +02:00
2017-12-07 20:20:37 +01:00
2017-11-13 16:42:56 +00:00
2017-11-28 16:35:06 +02:00
2017-12-08 10:15:58 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-07 15:33:24 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-04 07:57:43 +02:00
2017-12-08 10:15:58 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-13 16:49:52 +00:00
2017-11-27 20:27:42 +01:00
2017-11-23 16:45:54 +00:00
2017-11-27 20:27:42 +01:00
2017-12-06 19:52:33 -02:00
2017-12-05 14:53:14 +00:00
2017-12-07 03:15:27 -02:00
2017-12-05 14:53:14 +00:00
2017-12-06 19:52:33 -02:00
2017-10-03 12:44:17 +03:00
2017-08-10 12:38:10 +03:00
2017-11-27 20:27:42 +01:00
2017-12-04 07:57:43 +02:00
2017-11-27 20:27:42 +01:00
2017-11-15 23:22:42 -05:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00