digiKam
heif::BitstreamRange Class Reference

Public Member Functions

 BitstreamRange (std::shared_ptr< StreamReader > istr, uint64_t length, BitstreamRange *parent=nullptr)
 
bool eof () const
 
bool error () const
 
Error get_error () const
 
std::shared_ptr< StreamReaderget_istream ()
 
int get_nesting_level () const
 
int64_t get_remaining_bytes () const
 
bool prepare_read (int64_t nBytes)
 
uint16_t read16 ()
 
uint32_t read32 ()
 
uint8_t read8 ()
 
std::string read_string ()
 
void set_eof_while_reading ()
 
void skip_to_end_of_box ()
 
void skip_to_end_of_file ()
 
StreamReader::grow_status wait_for_available_bytes (int64_t nBytes)
 
StreamReader::grow_status wait_until_range_is_available ()
 

Constructor & Destructor Documentation

◆ BitstreamRange()

heif::BitstreamRange::BitstreamRange ( std::shared_ptr< StreamReader istr,
uint64_t  length,
BitstreamRange parent = nullptr 
)

Member Function Documentation

◆ eof()

bool heif::BitstreamRange::eof ( ) const
inline

◆ error()

bool heif::BitstreamRange::error ( ) const
inline

◆ get_error()

Error heif::BitstreamRange::get_error ( ) const
inline

◆ get_istream()

std::shared_ptr<StreamReader> heif::BitstreamRange::get_istream ( )
inline

◆ get_nesting_level()

int heif::BitstreamRange::get_nesting_level ( ) const
inline

◆ get_remaining_bytes()

int64_t heif::BitstreamRange::get_remaining_bytes ( ) const
inline

◆ prepare_read()

bool heif::BitstreamRange::prepare_read ( int64_t  nBytes)

◆ read16()

uint16_t heif::BitstreamRange::read16 ( )

◆ read32()

uint32_t heif::BitstreamRange::read32 ( )

◆ read8()

uint8_t heif::BitstreamRange::read8 ( )

◆ read_string()

std::string heif::BitstreamRange::read_string ( )

◆ set_eof_while_reading()

void heif::BitstreamRange::set_eof_while_reading ( )
inline

◆ skip_to_end_of_box()

void heif::BitstreamRange::skip_to_end_of_box ( )
inline

◆ skip_to_end_of_file()

void heif::BitstreamRange::skip_to_end_of_file ( )
inline

References skip_to_end_of_file().

Referenced by skip_to_end_of_file().

◆ wait_for_available_bytes()

StreamReader::grow_status heif::BitstreamRange::wait_for_available_bytes ( int64_t  nBytes)

◆ wait_until_range_is_available()

StreamReader::grow_status heif::BitstreamRange::wait_until_range_is_available ( )

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