Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ByteRange Struct Reference

#include <ByteRange.h>

Public Member Functions

 ByteRange ()
 
 ByteRange (const char *begin_, const char *end_)
 
 ByteRange (const char *begin_, size_t size)
 
bool Empty () const
 
size_t Size () const
 
const char & operator[] (size_t idx) const
 
const char & operator* () const
 
size_t read (char *to, size_t sz, size_t count)
 

Public Attributes

const char * begin
 
const char * end
 

Constructor & Destructor Documentation

◆ ByteRange() [1/3]

ByteRange::ByteRange ( )
inline

◆ ByteRange() [2/3]

ByteRange::ByteRange ( const char *  begin_,
const char *  end_ 
)
inline

◆ ByteRange() [3/3]

ByteRange::ByteRange ( const char *  begin_,
size_t  size 
)
inline

Member Function Documentation

◆ Empty()

bool ByteRange::Empty ( ) const
inline

◆ operator*()

const char & ByteRange::operator* ( ) const
inline

◆ operator[]()

const char & ByteRange::operator[] ( size_t  idx) const
inline

◆ read()

size_t ByteRange::read ( char *  to,
size_t  sz,
size_t  count 
)
inline
Here is the call graph for this function:

◆ Size()

size_t ByteRange::Size ( ) const
inline

Member Data Documentation

◆ begin

const char* ByteRange::begin

◆ end

const char* ByteRange::end

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