|
c963fce304
|
endian: prefer bit_cast over union type punning
|
2022-02-07 12:14:24 +10:00 |
|
|
e22f4a9001
|
types/sized: update bits types to follow a more current style
|
2020-10-22 11:27:25 +10:00 |
|
|
91137f4f36
|
endian: include compare header for three-way compare
|
2020-08-22 07:32:30 +10:00 |
|
|
837b948435
|
Header cleanup using include-what-you-use
|
2020-07-01 17:02:44 +10:00 |
|
|
a69df0ae02
|
endian: use three-way comparison for endian types
|
2020-03-21 13:17:18 +11:00 |
|
|
8fdb09c95c
|
endian: add convenience typedefs for little endian sized types
|
2020-01-01 11:07:54 +11:00 |
|
|
4c35486776
|
endian: specialise endian converter for identity transforms
|
2020-01-01 11:07:30 +11:00 |
|
|
e05b522827
|
endian: add readbe to complement readle and readhe
|
2020-01-01 11:07:00 +11:00 |
|
|
f41ffe339c
|
endian: be less clever with value operators
|
2019-02-03 16:37:08 +11:00 |
|
|
111bceb013
|
endian: add typedefs for u64, i16, i32, and i64 endian::value
|
2019-01-18 17:18:01 +11:00 |
|
|
def21dbd3f
|
endian: add explicit 'native' query for endian::value
|
2019-01-18 17:17:36 +11:00 |
|
|
c573c9fa37
|
endian: add an auto-converting endian type
|
2018-12-15 15:38:01 +11:00 |
|
|
b0311f9cd4
|
endian: remove templates from bswap
It's too hard to trace problems with callers if we use templates here
(most of the callgraph gets truncated so we can't even tell who's
calling us).
|
2018-12-15 15:38:01 +11:00 |
|
|
f6056153e3
|
rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
|
2018-08-05 14:42:02 +10:00 |
|
|
803acc9a87
|
relicense under MPL-2.0
|
2018-08-04 15:14:06 +10:00 |
|
|
7070607839
|
endian: refactor endian conversion
|
2018-05-19 18:06:34 +10:00 |
|
|
497d3ca970
|
build: update for gcc-8.1 warnings
|
2018-05-03 18:32:08 +10:00 |
|
|
d8bb00c9c3
|
endian: add float byteswap specialisation
|
2017-10-12 17:38:40 +11:00 |
|
|
0997bbbaac
|
endian: add signed byteswap
|
2017-01-04 22:38:15 +11:00 |
|
|
9a798446b5
|
build: remove unnecessary includes
discovered with include-what-you-use
|
2016-10-12 15:08:22 +11:00 |
|
|
fd319d579b
|
build: make single argument constructors explicit
|
2015-06-04 22:18:43 +10:00 |
|
|
2658b41ea1
|
relicence under Apache-2.0
|
2015-04-13 18:05:28 +10:00 |
|
|
2640811e03
|
endian: avoid directly byteswapping signed ints
|
2015-01-10 20:08:07 +11:00 |
|
|
0ea3d5b9ac
|
endian: comment out signed byteswap
specifics of signed byteswap are unclear so we should remove it, but
it's not known exactly which projects rely on this functionality.
|
2014-12-30 18:35:11 +11:00 |
|
|
a3dcdeb7a3
|
endian: add convenience selectable convertor
|
2014-07-31 18:52:57 +10:00 |
|
|
34b40ddcc7
|
endian: add signed byte swapping
|
2014-07-23 15:52:56 +10:00 |
|
|
fba15db34b
|
endian: complete reimplementation
Old implementation was overly verbose. We can just rely on gcc builtins as
we can't actually build on anything else anyway.
|
2014-07-15 19:44:39 +10:00 |
|
|
de89dabf4b
|
Add clang path for endian conversion
|
2012-06-13 16:01:42 +10:00 |
|
|
71c4df0cac
|
Select endian conversion method based on compiler
|
2012-05-26 17:59:50 +10:00 |
|
|
77942e008d
|
Change my email to an active domain
|
2012-04-23 13:10:50 +10:00 |
|
|
73f27c7cb1
|
Add endian conversion functions
|
2011-08-29 14:36:03 +10:00 |
|