C# Class Dicom.IO.ByteBuffer

Exibir arquivo Open project: fo-dicom/mdcm Class Usage Examples

Public Methods

Method Description
Append ( byte buffer, int offset, int count ) : void
ByteBuffer ( ) : System
ByteBuffer ( Endian endian ) : System
ByteBuffer ( FileSegment segment ) : System
ByteBuffer ( FileSegment segment, Endian endian ) : System
ByteBuffer ( byte data ) : System
ByteBuffer ( byte data, Endian endian ) : System
Chop ( int count ) : void
Clear ( ) : void
Clone ( ) : ByteBuffer
CopyFrom ( Stream s, int count ) : int
CopyTo ( Stream s ) : void
CopyTo ( int srcOffset, Stream s, int dstOffset, int count ) : void
CopyTo ( int srcOffset, byte buffer, int dstOffset, int count ) : void
FromBytes ( byte bytes ) : void
GetChunk ( int srcOffset, int count ) : byte[]
GetString ( ) : string
Preload ( ) : void
SetString ( string val ) : void
SetString ( string val, byte pad ) : void
Swap ( int bytesToSwap ) : void
Swap2 ( ) : void
Swap4 ( ) : void
Swap8 ( ) : void
ToBytes ( ) : byte[]
ToInt16s ( ) : short[]
ToUInt16s ( ) : ushort[]
ToUInt32s ( ) : uint[]
Unload ( ) : void

Method Details

Append() public method

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

ByteBuffer() public method

public ByteBuffer ( ) : System
return System

ByteBuffer() public method

public ByteBuffer ( Endian endian ) : System
endian Endian
return System

ByteBuffer() public method

public ByteBuffer ( FileSegment segment ) : System
segment FileSegment
return System

ByteBuffer() public method

public ByteBuffer ( FileSegment segment, Endian endian ) : System
segment FileSegment
endian Endian
return System

ByteBuffer() public method

public ByteBuffer ( byte data ) : System
data byte
return System

ByteBuffer() public method

public ByteBuffer ( byte data, Endian endian ) : System
data byte
endian Endian
return System

Chop() public method

public Chop ( int count ) : void
count int
return void

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : ByteBuffer
return ByteBuffer

CopyFrom() public method

public CopyFrom ( Stream s, int count ) : int
s Stream
count int
return int

CopyTo() public method

public CopyTo ( Stream s ) : void
s Stream
return void

CopyTo() public method

public CopyTo ( int srcOffset, Stream s, int dstOffset, int count ) : void
srcOffset int
s Stream
dstOffset int
count int
return void

CopyTo() public method

public CopyTo ( int srcOffset, byte buffer, int dstOffset, int count ) : void
srcOffset int
buffer byte
dstOffset int
count int
return void

FromBytes() public method

public FromBytes ( byte bytes ) : void
bytes byte
return void

GetChunk() public method

public GetChunk ( int srcOffset, int count ) : byte[]
srcOffset int
count int
return byte[]

GetString() public method

public GetString ( ) : string
return string

Preload() public method

public Preload ( ) : void
return void

SetString() public method

public SetString ( string val ) : void
val string
return void

SetString() public method

public SetString ( string val, byte pad ) : void
val string
pad byte
return void

Swap() public method

public Swap ( int bytesToSwap ) : void
bytesToSwap int
return void

Swap2() public method

public Swap2 ( ) : void
return void

Swap4() public method

public Swap4 ( ) : void
return void

Swap8() public method

public Swap8 ( ) : void
return void

ToBytes() public method

public ToBytes ( ) : byte[]
return byte[]

ToInt16s() public method

public ToInt16s ( ) : short[]
return short[]

ToUInt16s() public method

public ToUInt16s ( ) : ushort[]
return ushort[]

ToUInt32s() public method

public ToUInt32s ( ) : uint[]
return uint[]

Unload() public method

public Unload ( ) : void
return void