Skip to content
Snippets Groups Projects

Add `endian.h`

Merged Arnold Loubriat requested to merge DataTriny/relibc:endian into master

Relates to #173

Adds the following functions from endian.h, as described here:

  • uint16_t be16toh(uint16_t);
  • uint32_t be32toh(uint32_t);
  • uint64_t be64toh(uint64_t);
  • uint16_t htobe16(uint16_t);
  • uint32_t htobe32(uint32_t);
  • uint64_t htobe64(uint64_t);
  • uint16_t htole16(uint16_t);
  • uint32_t htole32(uint32_t);
  • uint64_t htole64(uint64_t);
  • uint16_t le16toh(uint16_t);
  • uint32_t le32toh(uint32_t);
  • uint64_t le64toh(uint64_t);

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading