|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
#include <bit>
Include dependency graph for BinaryBuffer.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Transitive |
| namespace | MayaFlux::Transitive::Protocol |
Functions | |
| constexpr size_t | MayaFlux::Transitive::Protocol::padded_size (size_t len) noexcept |
| Round len up to the next 4-byte boundary. | |
| std::vector< uint8_t > | MayaFlux::Transitive::Protocol::read_blob (const uint8_t *data, size_t max_len, size_t &offset) |
| Read a length-prefixed blob from a byte buffer. | |
| float | MayaFlux::Transitive::Protocol::read_float (const uint8_t *data, size_t &offset) |
| Read a big-endian IEEE 754 float from a byte buffer. | |
| int32_t | MayaFlux::Transitive::Protocol::read_int32 (const uint8_t *data, size_t &offset) |
| Read a big-endian int32 from a byte buffer. | |
| std::string | MayaFlux::Transitive::Protocol::read_string (const uint8_t *data, size_t max_len, size_t &offset) |
| Read a null-terminated string from a byte buffer. | |
| void | MayaFlux::Transitive::Protocol::write_blob (std::vector< uint8_t > &out, const std::vector< uint8_t > &blob) |
| Append a length-prefixed blob padded to 4-byte boundary. | |
| void | MayaFlux::Transitive::Protocol::write_float (std::vector< uint8_t > &out, float val) |
| Append a big-endian IEEE 754 float. | |
| void | MayaFlux::Transitive::Protocol::write_int32 (std::vector< uint8_t > &out, int32_t val) |
| Append a big-endian int32. | |
| void | MayaFlux::Transitive::Protocol::write_string (std::vector< uint8_t > &out, const std::string &str) |
| Append a null-terminated string padded to 4-byte boundary. | |