Class PDV
PDV
Inherited Members
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public class PDV
Constructors
PDV()
Initializes new PDV
Declaration
public PDV()
PDV(Byte, Byte[], Boolean, Boolean)
Initializes new PDV
Declaration
public PDV(byte pcid, byte[] value, bool command, bool last)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte | pcid | Presentation context ID |
| Byte[] | value | PDV data |
| Boolean | command | Is command |
| Boolean | last | Is last fragment of command or data |
Properties
IsCommand
PDV is command
Declaration
public bool IsCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsLastFragment
PDV is last fragment of command or data
Declaration
public bool IsLastFragment { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
PCID
Presentation context ID
Declaration
public byte PCID { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte |
PDVLength
Length of this PDV
Declaration
public uint PDVLength { get; }
Property Value
| Type | Description |
|---|---|
| UInt32 |
Value
PDV data
Declaration
public byte[] Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
Methods
Read(RawPDU)
Reads PDV from PDU buffer
Declaration
public uint Read(RawPDU raw)
Parameters
| Type | Name | Description |
|---|---|---|
| RawPDU | raw | PDU buffer |
Returns
| Type | Description |
|---|---|
| UInt32 |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |
Overrides
Write(RawPDU)
Writes PDV to PDU buffer
Declaration
public void Write(RawPDU pdu)
Parameters
| Type | Name | Description |
|---|---|---|
| RawPDU | pdu | PDU buffer |