exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
event_encoding.hpp File Reference
#include "server/common/model/event/event.hpp"
#include <array>
#include <cstdint>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for event_encoding.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  exchange
namespace  exchange::server

Functions

std::vector< Event > exchange::server::decodeEvents (std::span< const uint8_t > bytes, std::span< const SecurityId > securities)
std::vector< uint8_t > exchange::server::encodeEvents (std::span< const Event > events, std::span< const SecurityId > securities)
void exchange::server::serializeEventsIntoSeedsDirectory (const std::unordered_map< std::string, std::span< const Event > > &seeds)

Variables

constexpr std::array exchange::server::FUZZING_SECURITY_IDS {SecurityId{1}, SecurityId{2}}