|
coastline 0.0.4
|
#include <cstdint>#include <cstdio>#include <optional>#include <span>#include <string>#include <vector>#include <nlohmann/json_fwd.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | coastline |
Functions | |
| std::optional< nlohmann::ordered_json > | coastline::GhostToJson (std::span< const std::uint8_t > bytes) |
| Describe a ghost recording of the PC release (RGho) as JSON: the recording, the settings, the name of its slot, and each frame with every bit in a named field. | |
| std::optional< std::vector< std::uint8_t > > | coastline::GhostFromJson (const nlohmann::ordered_json &json) |
| Build the file of a ghost recording from its JSON, the inverse of GhostToJson(). | |
| std::string | coastline::FormatGhostJson (const nlohmann::ordered_json &json) |
| Write the JSON of a recording with each frame on one line. | |