src/libtsduck/dtv/tsDescriptorList.cpp
size_t ts::DescriptorList::binarySize() const
{
    size_t size = 0;

    for (int i = 0; i < int(_list.size()); ++i) {
        size += _list[i].desc->size();
    }

    return size;
}
//----------------------------------------------------------------------------
// Total number of bytes that is required to serialize the list of descriptors.
//----------------------------------------------------------------------------
Total number of bytes that is required to serialize the list of descriptors.
Total number of bytes that is required to serialize the list of descriptors .
size_t ts::DescriptorList::binarySize() const
{
    size_t size = 0;
    for (int i = 0; i < int(_list.size()); ++i) {
        size += _list[i].desc->size();
    }
    return size;
}
size_t ts :: DescriptorList :: binarySize ( ) const { size_t size = 0 ; for ( int i = 0 ; i < int ( _list . size ( ) ) ; ++ i ) { size += _list [ i ] . desc -> size ( ) ; } return size ; }
Total number of bytes that is required to serialize the list of descriptors.
Total number of bytes that is required to serialize the list of descriptors .