pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::Offset Struct Reference

A byte range [begin, end) of the text passed to TextTokenizer::encode(). More...

#include <text_tokenizer.hpp>

Public Member Functions

bool operator== (const Offset &other) const
 

Public Attributes

size_t begin = 0
 
size_t end = 0
 

Detailed Description

A byte range [begin, end) of the text passed to TextTokenizer::encode().

Member Function Documentation

◆ operator==()

bool pulsatrix::Offset::operator== ( const Offset &  other) const
inline

Member Data Documentation

◆ begin

size_t pulsatrix::Offset::begin = 0

◆ end

size_t pulsatrix::Offset::end = 0

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