endian: add convenience typedefs for little endian sized types

This commit is contained in:
Danny Robson 2020-01-01 11:07:54 +11:00
parent 4c35486776
commit 8fdb09c95c

View File

@ -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>;