Class SwapByteBuffer
Inheritance
System.Object
SwapByteBuffer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: fo-dicom.core.dll
Syntax
public class SwapByteBuffer : IByteBuffer
Constructors
SwapByteBuffer(IByteBuffer, Int32)
Declaration
public SwapByteBuffer(IByteBuffer buffer, int unitSize)
Parameters
Type |
Name |
Description |
IByteBuffer |
buffer |
|
System.Int32 |
unitSize |
|
SwapByteBuffer(IByteBuffer, Int32, IMemoryProvider)
Declaration
public SwapByteBuffer(IByteBuffer buffer, int unitSize, IMemoryProvider memoryProvider)
Parameters
Properties
Data
Declaration
public byte[] Data { get; }
Property Value
Type |
Description |
System.Byte[] |
|
Internal
Declaration
public IByteBuffer Internal { get; }
Property Value
IsMemory
Declaration
public bool IsMemory { get; }
Property Value
Type |
Description |
System.Boolean |
|
Size
Declaration
public long Size { get; }
Property Value
Type |
Description |
System.Int64 |
|
UnitSize
Declaration
public int UnitSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CopyToStream(Stream)
Declaration
public void CopyToStream(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
CopyToStreamAsync(Stream, CancellationToken)
Declaration
public async Task CopyToStreamAsync(Stream stream, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetByteRange(Int64, Int32, Byte[])
Declaration
public void GetByteRange(long offset, int count, byte[] output)
Parameters
Type |
Name |
Description |
System.Int64 |
offset |
|
System.Int32 |
count |
|
System.Byte[] |
output |
|
Implements
Extension Methods