endian: add convenience typedefs for little endian sized types
This commit is contained in:
parent
4c35486776
commit
8fdb09c95c
@ -277,6 +277,14 @@ namespace cruft {
|
||||
}
|
||||
}
|
||||
|
||||
using lu16 = endian::little<u16>;
|
||||
using lu32 = endian::little<u32>;
|
||||
using lu64 = endian::little<u64>;
|
||||
|
||||
using li16 = endian::little<i16>;
|
||||
using li32 = endian::little<i32>;
|
||||
using li64 = endian::little<i64>;
|
||||
|
||||
using bu16 = endian::big<u16>;
|
||||
using bu32 = endian::big<u32>;
|
||||
using bu64 = endian::big<u64>;
|
||||
|
Loading…
Reference in New Issue
Block a user