Table of Contents

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 byte

Presentation context ID

value IMemory

PDV data

valueLength int

Length of the PDV data

command bool

Is command

last bool

Is last fragment of command or data

Properties

IsCommand

PDV is command

public bool IsCommand { get; set; }

Property Value

bool

IsLastFragment

PDV is last fragment of command or data

public bool IsLastFragment { get; set; }

Property Value

bool

PCID

Presentation context ID

public byte PCID { get; set; }

Property Value

byte

PDVLength

Length of this PDV

public uint PDVLength { get; }

Property Value

uint

Value

PDV data

public IMemory Value { get; }

Property Value

IMemory

ValueLength

Length of the PDV data

public int ValueLength { get; set; }

Property Value

int

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 RawPDU

PDU buffer

Returns

uint

ToString()

public override string ToString()

Returns

string

Write(RawPDU)

Writes PDV to PDU buffer

public void Write(RawPDU pdu)

Parameters

pdu RawPDU

PDU buffer