36typename std::enable_if<std::is_integral<T>::value, T>::type
43typename std::enable_if<std::is_integral<T>::value, T>::type
50typename std::enable_if<std::is_integral<T>::value, T>::type
57typename std::enable_if<std::is_integral<T>::value, T>::type
69template<
class Source,
class Destination>
72 typename std::enable_if<std::is_integral<Source>::value && std::is_integral<Destination>::value>::type* =
nullptr) {
91template<
class Source,
class Destination>
94 typename std::enable_if<std::is_integral<Source>::value && std::is_integral<Destination>::value>::type* =
nullptr) {
111template<
class Source,
class Destination>
114 typename std::enable_if<std::is_integral<Source>::value && std::is_integral<Destination>::value>::type* =
nullptr) {
115 ASSERT_not_null(dst);
123int8_t swap_bytes(int8_t n) ROSE_DEPRECATED("use
swapBytes");
124uint8_t swap_bytes(uint8_t n) ROSE_DEPRECATED("use
swapBytes");
125int16_t swap_bytes(int16_t n) ROSE_DEPRECATED("use
swapBytes");
126uint16_t swap_bytes(uint16_t n) ROSE_DEPRECATED("use
swapBytes");
127int32_t swap_bytes(int32_t n) ROSE_DEPRECATED("use
swapBytes");
128uint32_t swap_bytes(uint32_t n) ROSE_DEPRECATED("use
swapBytes");
129int64_t swap_bytes(int64_t n) ROSE_DEPRECATED("use
swapBytes");
130uint64_t swap_bytes(uint64_t n) ROSE_DEPRECATED("use
swapBytes");
131int8_t le_to_host(int8_t n) ROSE_DEPRECATED("use leToHost");
132uint8_t le_to_host(uint8_t n) ROSE_DEPRECATED("use leToHost");
133int16_t le_to_host(int16_t n) ROSE_DEPRECATED("use leToHost");
134uint16_t le_to_host(uint16_t n) ROSE_DEPRECATED("use leToHost");
135int32_t le_to_host(int32_t n) ROSE_DEPRECATED("use leToHost");
136uint32_t le_to_host(uint32_t n) ROSE_DEPRECATED("use leToHost");
137int64_t le_to_host(int64_t n) ROSE_DEPRECATED("use leToHost");
138uint64_t le_to_host(uint64_t n) ROSE_DEPRECATED("use leToHost");
139void host_to_le(
unsigned h, uint8_t *n) ROSE_DEPRECATED("use
hostToLe");
140void host_to_le(
unsigned h, uint16_t *n) ROSE_DEPRECATED("use
hostToLe");
141void host_to_le(
unsigned h, uint32_t *n) ROSE_DEPRECATED("use
hostToLe");
142void host_to_le(rose_addr_t h, uint64_t *n) ROSE_DEPRECATED("use
hostToLe");
143void host_to_le(
int h, int8_t *n) ROSE_DEPRECATED("use
hostToLe");
144void host_to_le(
int h, int16_t *n) ROSE_DEPRECATED("use
hostToLe");
145void host_to_le(
int h, int32_t *n) ROSE_DEPRECATED("use
hostToLe");
146void host_to_le(int64_t h, int64_t *n) ROSE_DEPRECATED("use
hostToLe");
149uint8_t be_to_host(uint8_t n) ROSE_DEPRECATED("use
beToHost");
150uint16_t be_to_host(uint16_t n) ROSE_DEPRECATED("use
beToHost");
151uint32_t be_to_host(uint32_t n) ROSE_DEPRECATED("use
beToHost");
152uint64_t be_to_host(uint64_t n) ROSE_DEPRECATED("use
beToHost");
153int8_t be_to_host(int8_t n) ROSE_DEPRECATED("use
beToHost");
154int16_t be_to_host(int16_t n) ROSE_DEPRECATED("use
beToHost");
155int32_t be_to_host(int32_t n) ROSE_DEPRECATED("use
beToHost");
156int64_t be_to_host(int64_t n) ROSE_DEPRECATED("use
beToHost");
157void host_to_be(
unsigned h, uint8_t *n) ROSE_DEPRECATED("use
hostToBe");
158void host_to_be(
unsigned h, uint16_t *n) ROSE_DEPRECATED("use
hostToBe");
159void host_to_be(
unsigned h, uint32_t *n) ROSE_DEPRECATED("use
hostToBe");
160void host_to_be(rose_addr_t h, uint64_t *n) ROSE_DEPRECATED("use
hostToBe");
161void host_to_be(
int h, int8_t *n) ROSE_DEPRECATED("use
hostToBe");
162void host_to_be(
int h, int16_t *n) ROSE_DEPRECATED("use
hostToBe");
163void host_to_be(
int h, int32_t *n) ROSE_DEPRECATED("use
hostToBe");
164void host_to_be(int64_t h, int64_t *n) ROSE_DEPRECATED("use
hostToBe");
178void host_to_disk(
Endianness sex, rose_addr_t h, uint64_t *np) ROSE_DEPRECATED("use
hostToDisk");