mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
8639d8bc21
commit
d26aabff04
140 changed files with 1202 additions and 723 deletions
|
@ -166,16 +166,16 @@ T Parser::read_host(T const* field) const
|
|||
}
|
||||
|
||||
template<typename T>
|
||||
requires(IsIntegral<T> && sizeof(T) > 1) T Parser::read_le(T const* field)
|
||||
const
|
||||
requires(IsIntegral<T> && sizeof(T) > 1)
|
||||
T Parser::read_le(T const* field) const
|
||||
{
|
||||
static_assert(sizeof(T) > 1);
|
||||
return AK::convert_between_host_and_little_endian(read_host(field));
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
requires(IsIntegral<T> && sizeof(T) > 1) T Parser::read_be(T const* field)
|
||||
const
|
||||
requires(IsIntegral<T> && sizeof(T) > 1)
|
||||
T Parser::read_be(T const* field) const
|
||||
{
|
||||
static_assert(sizeof(T) > 1);
|
||||
return AK::convert_between_host_and_big_endian(read_host(field));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue