Go to the source code of this file.
|
| | honey |
| | Global Honeycomb namespace.
|
| |
|
| constexpr byte | honey::operator""_b (unsigned long long int i) |
| | Construct byte from integer literal (eg. 128_b) More...
|
| |
| constexpr byte | honey::operator""_b (char c) |
| | Construct byte from character literal (eg. 'x'_b) More...
|
| |
| Bytes | honey::operator""_b (const char *str, szt len) |
| | Construct bytes from string literal (eg. "something"_b) More...
|
| |
| ostream & | honey::operator<< (ostream &os, ByteBufConst val) |
| | Write byte buffer to string stream using current encoding. More...
|
| |
| template<class Int > |
| std::enable_if< std::is_integral< Int >::value, Bytes >::type | honey::toBytes (Int val, Endian order=Endian::big) |
| | Convert integral value to bytes. More...
|
| |
| template<class Int > |
| std::enable_if< std::is_integral< Int >::value, Int >::type | honey::fromBytes (const Bytes &bs, Endian order=Endian::big) |
| | Convert bytes to integral value. More...
|
| |