mal-packet-weaver
C++20 packet serialization/deserialization library.
|
#include "library-pch.hpp"
Go to the source code of this file.
Classes | |
struct | mal_toolkit::ByteView |
A lightweight view over a sequence of bytes. More... | |
struct | mal_toolkit::ByteArray |
A dynamically resizable array of bytes. More... | |
Namespaces | |
namespace | mal_toolkit |
Contains a collection of tools and utilities provided by the MAL Toolkit library. | |
Functions | |
uint16_t | mal_toolkit::bytes_to_uint16 (const ByteView byte_view) |
Convert a byte array to a uint16_t value using little-endian byte order. | |
ByteArray | mal_toolkit::uint16_to_bytes (const uint16_t value) |
Convert a uint16_t value to a ByteArray using little-endian byte order. | |
uint32_t | mal_toolkit::bytes_to_uint32 (const ByteView byte_view) |
Convert a byte array to a uint32_t value using little-endian byte order. | |
ByteArray | mal_toolkit::uint32_to_bytes (const uint32_t value) |
Convert a uint32_t value to a ByteArray using little-endian byte order. | |
uint64_t | mal_toolkit::bytes_to_uint64 (const ByteView byte_view) |
Convert a byte array to a uint64_t value using little-endian byte order. | |
ByteArray | mal_toolkit::uint64_to_bytes (const uint64_t value) |
Convert a uint64_t value to a ByteArray using little-endian byte order. | |
int16_t | mal_toolkit::bytes_to_int16 (const ByteView byte_view) |
Convert a byte array to an int16_t value using little-endian byte order. | |
ByteArray | mal_toolkit::int16_to_bytes (const int16_t value) |
Convert an int16_t value to a ByteArray using little-endian byte order. | |
int32_t | mal_toolkit::bytes_to_int32 (const ByteView byte_view) |
Convert a byte array to an int32_t value using little-endian byte order. | |
ByteArray | mal_toolkit::int32_to_bytes (const int32_t value) |
Convert an int32_t value to a ByteArray using little-endian byte order. | |
int64_t | mal_toolkit::bytes_to_int64 (const ByteView byte_view) |
Convert a byte array to an int64_t value using little-endian byte order. | |
ByteArray | mal_toolkit::int64_to_bytes (const int64_t value) |
Convert an int64_t value to a ByteArray using little-endian byte order. | |