OtherByte

OtherByte class

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>

Constructors

NameDescription
OtherByte(Tag, byte)Initializes a new instance of the OtherByte with the given value and tag.
OtherByte(Tag, Span<byte>)

Properties

NameDescription
Count { get; }
Data { get; }
Tag { get; }
override ValueRepresentation { get; }

Methods

NameDescription
Add(byte)
AddRange(Span<byte>)
ConvertData<TOutput>(Func<byte, TOutput>)
Get(int)
Get<TValue>(Index)
Get<TValue>(int)
GetOrDefault<TValue>(Index)
GetOrDefault<TValue>(int)
GetSingleOrDefault()
GetValues()
GetValues(Range)
GetValues<TValue>()
GetValues<TValue>(Range)
Insert(int, byte)
Remove(byte)
RemoveAt(int)
Replace(IEnumerable<byte>)
override ToString()
TryGetValue<TValue>(Index, out TValue)
TryGetValue<TValue>(int, out TValue)

See Also