C# Class Dicom.Network.PDataTFStream

Inheritance: Stream
Datei anzeigen Open project: fo-dicom/mdcm Class Usage Examples

Public Properties

Property Type Description
MaxPduSizeLimit int
OnPduSent PduSentDelegate

Public Methods

Method Description
Flush ( ) : void
Flush ( bool last ) : void
PDataTFStream ( Stream network, byte pcid, int max ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( Stream stream ) : void
Write ( byte buffer, int offset, int count ) : void

Private Methods

Method Description
AppendBuffer ( byte buffer, int offset, int count ) : void
CreatePDV ( ) : bool
CurrentPduSize ( ) : int
GetBufferLength ( ) : int
WritePDU ( bool last ) : void

Method Details

Flush() public method

public Flush ( ) : void
return void

Flush() public method

public Flush ( bool last ) : void
last bool
return void

PDataTFStream() public method

public PDataTFStream ( Stream network, byte pcid, int max ) : System
network Stream
pcid byte
max int
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( Stream stream ) : void
stream Stream
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Property Details

MaxPduSizeLimit public_oe static_oe property

public static int MaxPduSizeLimit
return int

OnPduSent public_oe property

public PduSentDelegate OnPduSent
return PduSentDelegate