From 8fdb09c95cb8be30c82785c60a550027adc4117c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 1 Jan 2020 11:07:54 +1100 Subject: [PATCH] endian: add convenience typedefs for little endian sized types --- endian.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/endian.hpp b/endian.hpp index e9f260fb..91ae9c59 100644 --- a/endian.hpp +++ b/endian.hpp @@ -277,6 +277,14 @@ namespace cruft { } } + using lu16 = endian::little; + using lu32 = endian::little; + using lu64 = endian::little; + + using li16 = endian::little; + using li32 = endian::little; + using li64 = endian::little; + using bu16 = endian::big; using bu32 = endian::big; using bu64 = endian::big;