PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::PayloadChunkBytes Class Referencefinal

Paged text emitted from a same-store source. More...

#include <payload_readback.hpp>

Public Member Functions

 PayloadChunkBytes () noexcept=default
 
 PayloadChunkBytes (PayloadReadback reader, std::uint64_t first, std::uint64_t size) noexcept
 
std::uint64_t size () const noexcept override
 
ScratchStatus read (std::uint64_t offset, ScratchBuffer out) const noexcept override
 
- Public Member Functions inherited from pineforge::detail::ScratchByteSource
virtual ~ScratchByteSource () noexcept=default
 
virtual const ReportScratchIoError * carried_failure () const noexcept
 

Detailed Description

Paged text emitted from a same-store source.

Fixed chunks permit the writer to finish each input read before put; this reader joins them without a copy.

Definition at line 91 of file payload_readback.hpp.

Constructor & Destructor Documentation

◆ PayloadChunkBytes() [1/2]

pineforge::detail::PayloadChunkBytes::PayloadChunkBytes ( )
defaultnoexcept

Referenced by PayloadChunkBytes().

◆ PayloadChunkBytes() [2/2]

pineforge::detail::PayloadChunkBytes::PayloadChunkBytes ( PayloadReadback reader,
std::uint64_t first,
std::uint64_t size )
inlinenoexcept

Definition at line 94 of file payload_readback.hpp.

References PayloadChunkBytes(), and size().

Member Function Documentation

◆ size()

std::uint64_t pineforge::detail::PayloadChunkBytes::size ( ) const
inlineoverridevirtualnoexcept

Implements pineforge::detail::ScratchByteSource.

Definition at line 96 of file payload_readback.hpp.

Referenced by PayloadChunkBytes().

◆ read()


The documentation for this class was generated from the following file: