Skip to content

Commit

Permalink
libzeth: small documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dtebbs committed Apr 29, 2020
1 parent ce0f400 commit d11f25b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libzeth/core/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
namespace libzeth
{

/// Takes a container with a `size()` method and reverse the order
/// of the elements. The elements should represent bits.
/// Takes a container with a `size()` method containing a multiple of 8
/// elements. The elements (considered to be bit-like) are divided into "bytes"
/// (groups of 8), and the order of these "bytes" is reversed. The order of
/// "bits" within each "byte" is preserved.
template<typename T> T swap_byte_endianness(T v);

/// Returns the binary encoding of the address of a leaf node in a binary tree.
Expand Down

0 comments on commit d11f25b

Please sign in to comment.