Class PDV
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
PDV
public class PDV : IDisposable
- Inheritance
-
PDV
- Implements
- Inherited Members
- Extension Methods
Constructors
PDV(IMemoryProvider)
Initializes new PDV
public PDV(IMemoryProvider memoryProvider)
Parameters
memoryProvider
IMemoryProvider
PDV(byte, IMemory, int, bool, bool)
Initializes new PDV
public PDV(byte pcid, IMemory value, int valueLength, bool command, bool last)
Parameters
pcid
bytePresentation context ID
value
IMemoryPDV data
valueLength
intLength of the PDV data
command
boolIs command
last
boolIs last fragment of command or data
Properties
IsCommand
PDV is command
public bool IsCommand { get; set; }
Property Value
IsLastFragment
PDV is last fragment of command or data
public bool IsLastFragment { get; set; }
Property Value
PCID
Presentation context ID
public byte PCID { get; set; }
Property Value
PDVLength
Length of this PDV
public uint PDVLength { get; }
Property Value
Value
PDV data
public IMemory Value { get; }
Property Value
ValueLength
Length of the PDV data
public int ValueLength { get; set; }
Property Value
Methods
Dispose()
public void Dispose()
~PDV()
Finalizes PDV to avoid issues with improper disposal
protected ~PDV()
Read(RawPDU)
Reads PDV from PDU buffer
public uint Read(RawPDU raw)
Parameters
raw
RawPDUPDU buffer
Returns
ToString()
public override string ToString()
Returns
Write(RawPDU)
Writes PDV to PDU buffer
public void Write(RawPDU pdu)
Parameters
pdu
RawPDUPDU buffer