Class AReleaseRP
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
A-RELEASE-RP
public class AReleaseRP : PDU
- Inheritance
-
AReleaseRP
- Implements
- Inherited Members
- Extension Methods
Constructors
AReleaseRP(IMemoryProvider)
Initializes a new A-RELEASE-RP
public AReleaseRP(IMemoryProvider memoryProvider)
Parameters
memoryProvider
IMemoryProviderThe memory provider that will be used to allocate buffers
Methods
Read(RawPDU)
Reads A-RELEASE-RP from PDU buffer
public void Read(RawPDU raw)
Parameters
raw
RawPDUPDU buffer
ToString()
public override string ToString()
Returns
WriteAsync(Stream, CancellationToken)
Writes A-RELEASE-RP to the provided stream
public Task WriteAsync(Stream stream, CancellationToken cancellationToken)
Parameters
stream
StreamThe stream to write the PDU to
cancellationToken
CancellationTokenThe token that cancels the write operation
Returns
- Task
A Task that represents the asynchronous operation