PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
payload_readback.hpp File Reference
#include <pineforge/detail/scratch_store.hpp>
#include <algorithm>
#include <array>
#include <cstring>
#include <limits>
#include <string_view>
Include dependency graph for payload_readback.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  pineforge::detail::PayloadBytes
 A logical slice, stable across cache eviction and nested reads. More...
 
struct  pineforge::detail::PayloadField
 
class  pineforge::detail::PayloadReadback
 All reads borrow store/version; no owning row or text reconstruction. More...
 
class  pineforge::detail::PayloadChunkBytes
 Paged text emitted from a same-store source. More...
 

Namespaces

namespace  pineforge
 
namespace  pineforge::detail
 

Enumerations

enum class  pineforge::detail::PayloadType : std::uint64_t {
  pineforge::detail::unsigned_integer ,
  pineforge::detail::signed_integer ,
  pineforge::detail::real ,
  pineforge::detail::boolean ,
  pineforge::detail::text ,
  pineforge::detail::object_begin ,
  pineforge::detail::object_end
}
 
enum class  pineforge::detail::PayloadSchema : std::uint64_t {
  pineforge::detail::request = 1 ,
  pineforge::detail::placement = 2 ,
  pineforge::detail::pending = 3
}
 

Functions

void pineforge::detail::payload_encode (std::uint64_t value, std::byte *bytes) noexcept
 
std::uint64_t pineforge::detail::payload_decode (const std::byte *bytes) noexcept
 

Variables

constexpr std::uint64_t pineforge::detail::payload_root_kind = 0x4f31533200000001ULL
 
constexpr std::uint64_t pineforge::detail::payload_field_kind = 0x4f31533200000002ULL