Class OtherByte

Class OtherByte

Namespace: Aspose.Medical.Dicom.Elements
Assembly: Aspose.Medical.dll (25.11.0)

Encapsulates the Other Byte (OB) VR type. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#:~:text=OB-,Other%20Byte,-An%20octet%2Dstream .

public sealed class OtherByte : ValueElement<byte>, IElement

Inheritance

object ValueElement<byte> OtherByte

Implements

IElement

Inherited Members

ValueElement<byte>.Add(byte) , ValueElement<byte>.AddRange(Span<byte>) , ValueElement<byte>.ConvertData<toutput>(Func<byte, toutput="">) , ValueElement<byte>.Get<tvalue>(int) , ValueElement<byte>.Get<tvalue>(Index) , ValueElement<byte>.Get(int) , ValueElement<byte>.GetOrDefault<tvalue>(int) , ValueElement<byte>.GetOrDefault<tvalue>(Index) , ValueElement<byte>.GetSingleOrDefault() , ValueElement<byte>.GetValues<tvalue>() , ValueElement<byte>.GetValues() , ValueElement<byte>.GetValues<tvalue>(Range) , ValueElement<byte>.GetValues(Range) , ValueElement<byte>.Insert(int, byte) , ValueElement<byte>.Remove(byte) , ValueElement<byte>.RemoveAt(int) , ValueElement<byte>.Replace(IEnumerable<byte>) , ValueElement<byte>.ToString() , ValueElement<byte>.TryGetValue<tvalue>(int, out TValue?) , ValueElement<byte>.TryGetValue<tvalue>(Index, out TValue?) , ValueElement<byte>.Data , ValueElement<byte>.Tag , ValueElement<byte>.ValueRepresentation , ValueElement<byte>.Count , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OtherByte(Tag, Span<byte>)

public OtherByte(Tag tag, Span<byte> data)

Parameters

tag Tag

data Span < byte &gt;

OtherByte(Tag, byte)

Initializes a new instance of the Aspose.Medical.Dicom.Elements.OtherByte with the given value and tag.

public OtherByte(Tag tag, byte value)

Parameters

tag Tag

Element’s tag.

value byte

Element’s value.

Exceptions

DicomValidationException

The provided data are invalid.

Properties

ValueRepresentation

The Value Representation of the element. Read-only Aspose.Medical.Dicom.Elements.IElement.ValueRepresentation.

public override ValueRepresentation ValueRepresentation { get; }

Property Value

ValueRepresentation

Methods

Accept(Walker)

Dispatches (delegates) a request to the accepted walker.

protected override void Accept(Walker walker)

Parameters

walker Walker

A walker to be used for traversal and perform operations.

AcceptAsync(AsyncWalker)

Asynchronously dispatches (delegates) a request to the accepted walker.

protected override Task AcceptAsync(AsyncWalker walker)

Parameters

walker AsyncWalker

A walker to be used for traversal and perform operations.

Returns

Task </byte></byte></byte></byte></byte></tvalue></byte></tvalue></byte></byte></byte></byte></byte></byte></byte></byte></tvalue></byte></byte></tvalue></byte></byte></tvalue></byte></tvalue></byte></byte></tvalue></byte></tvalue></byte></byte,></toutput></byte></byte></byte></byte></byte>