internal DicomFragment(DicomFragment source) { if (source._reference != null) { _reference = source._reference; } else { _bb = source._bb; } }
public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } DicomFragment frame = (DicomFragment)obj; byte[] source = this.GetByteArray(); byte[] dest = frame.GetByteArray(); for (int index = 0; index < source.Length; index++) { if (!source[index].Equals(dest[index])) { return(false); } } return(true); }
public void AddFragment(DicomFragment fragment) { _fragments.Add(fragment); }