add BE and LE type aliases
diff --git a/src/lib.rs b/src/lib.rs
index 4142b1c..876bd45 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1388,6 +1388,9 @@
}
}
+/// A type alias for `BigEndian`.
+pub type BE = BigEndian;
+
/// Defines little-endian serialization.
///
/// Note that this type has no value constructor. It is used purely at the
@@ -1413,6 +1416,9 @@
}
}
+/// A type alias for `LittleEndian`.
+pub type LE = LittleEndian;
+
/// Defines network byte order serialization.
///
/// Network byte order is defined by [RFC 1700][1] to be big-endian, and is