Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
bitutil.hpp
Go to the documentation of this file.
1#pragma once
2#include <stdint.h>
3
4namespace fc {
5
7{
8 return (((x >> 0x38) & 0xFF) )
9 | (((x >> 0x30) & 0xFF) << 0x08)
10 | (((x >> 0x28) & 0xFF) << 0x10)
11 | (((x >> 0x20) & 0xFF) << 0x18)
12 | (((x >> 0x18) & 0xFF) << 0x20)
13 | (((x >> 0x10) & 0xFF) << 0x28)
14 | (((x >> 0x08) & 0xFF) << 0x30)
15 | (((x ) & 0xFF) << 0x38)
16 ;
17}
18
20{
21 return (((x >> 0x18) & 0xFF) )
22 | (((x >> 0x10) & 0xFF) << 0x08)
23 | (((x >> 0x08) & 0xFF) << 0x10)
24 | (((x ) & 0xFF) << 0x18)
25 ;
26}
27
28} // namespace fc
namespace sysio::chain
Definition authority.cpp:3
uint64_t endian_reverse_u64(uint64_t x)
Definition bitutil.hpp:6
uint32_t endian_reverse_u32(uint32_t x)
Definition bitutil.hpp:19
unsigned int uint32_t
Definition stdint.h:126
unsigned __int64 uint64_t
Definition stdint.h:136