/// Extends a slice to the appropriate size of Vec, padding extra length with 0s.
///
/// Suitable for use in little-endian byte ordering.
/// Extends a slice to the appropriate size of Vec, padding extra length with 0s.
///
/// Suitable for use in big-endian byte ordering.