bors
3e933b199c
auto merge of #7194 : jensnockert/rust/endian, r=cmr
...
They simply byte-swap an integer to a specific endian, like the hton* functions in C.
These intrinsics are synthesized, so maybe they should be in another file. But since they are just a single line of code each, based on the bswap intrinsics and aren't really intended for public consumption I thought they would fit in the intrinsics file.
The next step working on this could be to expose a trait / generic function for byteswapping.
2013-07-06 08:32:10 -07:00
..
2013-07-01 17:52:57 +10:00
2013-06-28 10:44:15 -04:00
2013-07-04 00:46:50 +10:00
2013-06-23 02:05:20 -04:00
2013-06-29 08:35:48 -07:00
2013-07-06 08:32:10 -07:00
2013-07-04 00:46:50 +10:00
2013-07-01 23:37:11 -07:00
2013-06-18 14:48:48 -07:00
2013-06-21 02:43:02 +12:00
2013-06-29 00:56:36 -04:00
2013-06-30 09:19:25 -07:00
2013-06-23 13:02:00 +02:00
2013-06-28 10:44:15 -04:00
2013-06-18 14:48:48 -07:00
2013-06-28 10:44:15 -04:00
2013-06-25 21:14:39 -04:00
2013-06-25 16:26:23 -04:00
2013-07-04 00:46:49 +10:00
2013-07-01 17:52:57 +10:00
2013-06-28 10:44:16 -04:00
2013-07-04 00:46:49 +10:00
2013-07-04 00:46:50 +10:00
2013-07-01 01:50:40 +02:00
2013-06-30 21:59:44 +10:00
2013-07-01 23:37:11 -07:00
2013-07-03 04:31:50 -07:00
2013-06-29 03:58:50 -04:00
2013-06-30 16:22:58 -04:00
2013-06-18 14:48:48 -07:00
2013-06-25 21:14:39 -04:00
2013-06-29 08:35:48 -07:00
2013-07-04 00:46:50 +10:00
2013-06-18 14:48:48 -07:00
2013-06-28 10:47:59 -04:00
2013-06-28 10:44:15 -04:00
2013-07-04 00:46:50 +10:00
2013-07-04 00:46:50 +10:00
2013-07-04 00:46:50 +10:00
2013-06-23 12:49:16 +02:00
2013-06-30 09:19:25 -07:00
2013-06-23 02:05:20 -04:00
2013-07-04 00:46:50 +10:00
2013-06-30 16:36:48 -07:00
2013-07-04 00:46:50 +10:00
2013-06-23 12:49:16 +02:00
2013-06-29 04:39:34 -04:00
2013-06-28 10:44:17 -04:00
2013-06-29 08:35:48 -07:00
2013-06-30 21:59:44 +10:00
2013-07-01 17:52:57 +10:00
2013-06-28 00:23:38 -04:00
2013-07-03 22:07:20 -07:00