src/libtsduck/dtv/tables/tsAbstractTransportListTable.cpp
void ts::AbstractTransportListTable::addSection(BinaryTable& table,
                                                int& section_number,
                                                uint8_t* payload,
                                                uint8_t*& data,
                                                size_t& remain) const
{
    table.addSection(new Section(_table_id,
                                 true,   // is_private_section
                                 _tid_ext,
                                 version,
                                 is_current,
                                 uint8_t(section_number),
                                 uint8_t(section_number),   //last_section_number
                                 payload,
                                 data - payload)); // payload_size,

    // Reinitialize pointers.
    remain += data - payload;
    data = payload;
    section_number++;
}
//----------------------------------------------------------------------------
// Private method: Add a new section to a table being serialized.
// Section number is incremented. Data and remain are reinitialized.
//----------------------------------------------------------------------------
Private method: Add a new section to a table being serialized.
Section number is incremented. Data and remain are reinitialized.
Private method : Add a new section to a table being serialized . Section number is incremented . Data and remain are reinitialized .
void ts::AbstractTransportListTable::addSection(BinaryTable& table,
                                                int& section_number,
                                                uint8_t* payload,
                                                uint8_t*& data,
                                                size_t& remain) const
{
    table.addSection(new Section(_table_id,
                                 true,   
                                 _tid_ext,
                                 version,
                                 is_current,
                                 uint8_t(section_number),
                                 uint8_t(section_number),   
                                 payload,
                                 data - payload)); 
    remain += data - payload;
    data = payload;
    section_number++;
}
void ts :: AbstractTransportListTable :: addSection ( BinaryTable & table , int & section_number , uint8_t * payload , uint8_t * & data , size_t & remain ) const { table . addSection ( new Section ( _table_id , true , _tid_ext , version , is_current , uint8_t ( section_number ) , uint8_t ( section_number ) , payload , data - payload ) ) ; remain += data - payload ; data = payload ; section_number ++ ; }
Private method: Add a new section to a table being serialized.
Private method : Add a new section to a table being serialized .
// is_private_section //last_section_number // payload_size, // Reinitialize pointers.