Dicom.Network.PDataTF.GetLengthOfPDVs C# (CSharp) Method

GetLengthOfPDVs() public method

Calculates the total length of the PDVs in this P-DATA-TF
public GetLengthOfPDVs ( ) : uint
return uint
        public uint GetLengthOfPDVs()
        {
            uint len = 0;
            foreach (PDV pdv in _pdvs) {
                len += pdv.PDVLength;
            }
            return len;
        }

Usage Example

Ejemplo n.º 1
0
 private uint CurrentPduSize()
 {
     // PDU header + PDV header + PDV data
     return(6 + _pdu.GetLengthOfPDVs());
 }
All Usage Examples Of Dicom.Network.PDataTF::GetLengthOfPDVs