wavelength 1.0.0
Loading...
Searching...
No Matches
nameirx.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <expected>
5#include <span>
6#include <vector>
7
8#include "error.h"
9
11namespace Tools::NameIrx {
12
13using Common::Error;
14
26std::expected<std::vector<std::uint8_t>, Error> nameIrx(std::span<const std::uint8_t> data);
27
28} // namespace Tools::NameIrx
Writer of the module name into the .iopmod header of an IRX.
Definition nameirx.h:11
std::expected< std::vector< std::uint8_t >, Error > nameIrx(std::span< const std::uint8_t > data)
Return the IRX with the module name written into its .iopmod header.
Failure returned through std::expected.
Definition error.h:17