Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
bytes.cpp File Reference
#include <haio_util.hpp>
Include dependency graph for bytes.cpp:

Go to the source code of this file.

Namespaces

namespace  Haio
namespace  Haio::Util

Functions

bool Haio::Util::hasBytes (Bytes data, size_t off, size_t len)
void Haio::Util::appendU32LE (std::vector< uint8_t > &out, uint32_t value)
void Haio::Util::appendU64LE (std::vector< uint8_t > &out, uint64_t value)
uint32_t Haio::Util::readU32LE (Bytes data, size_t off)
uint32_t Haio::Util::readU32BE (Bytes data, size_t off)
uint64_t Haio::Util::readU64LE (Bytes data, size_t off)
Result< std::vector< uint8_t > > Haio::Util::slice (Bytes data, size_t off, size_t len)