Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ieb06919f8a18f2cb31d542d2eeb20ff096c985a7
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12764
template <typename IntT>
IntT readFixedLenIntLe(const std::uint8_t * const buf)
{
- return bt2c::littleEndianToNative(readFixedLenInt<IntT>(buf));
+ return littleEndianToNative(readFixedLenInt<IntT>(buf));
}
/*
template <typename IntT>
IntT readFixedLenIntBe(const std::uint8_t * const buf)
{
- return bt2c::bigEndianToNative(readFixedLenInt<IntT>(buf));
+ return bigEndianToNative(readFixedLenInt<IntT>(buf));
}
} /* namespace bt2c */