#include <cstddef>
#include <cstdint>
#include <span>
Go to the source code of this file.
|
| std::uint16_t | Tools::Common::readLittle16 (std::span< const std::uint8_t > bytes, std::size_t offset) |
| | Read a little-endian 16-bit value.
|
| std::uint32_t | Tools::Common::readLittle32 (std::span< const std::uint8_t > bytes, std::size_t offset) |
| | Read a little-endian 32-bit value.
|
| void | Tools::Common::writeLittle (std::span< std::uint8_t > bytes, std::size_t offset, std::uint32_t value, std::size_t width=4) |
| | Write a little-endian value.
|
| void | Tools::Common::writeBig (std::span< std::uint8_t > bytes, std::size_t offset, std::uint32_t value, std::size_t width=4) |
| | Write a big-endian value.
|
| void | Tools::Common::writeBoth (std::span< std::uint8_t > bytes, std::size_t offset, std::uint32_t value, std::size_t width=4) |
| | Write a value in the ISO9660 both-endian form, little-endian followed by big-endian.
|