IDicomEncoding

IDicomEncoding interface

Handles alternate character sets for DICOM character strings.

public interface IDicomEncoding

Methods

NameDescription
Decode(Span<byte>, Encoding[], ReadOnlySpan<byte>)Decodes all the byte fragments in the specified Byte array into a String using a set of the given encodings.
GetByteCount(string, Encoding[], ReadOnlySpan<byte>)
GetBytes(string, Encoding[], byte, ReadOnlySpan<byte>)Encodes all the characters in the specified string into a Byte’s array.
GetCharset(Encoding, bool)Get DICOM character set from .NET Encoding.
GetEncoding(string)Returns the Encoding corresponding to charset (DICOM Specific Character Set).
GetEncodings(string[])Returns a collection of Encoding corresponding to the given charsets, where every charsets item is a name of the DICOM Specific Character Set.
RegisterEncoding(string, string)Registers an encoding for a specific character set value.
RegisterProvider(EncodingProvider)Registers an encoding provider.

See Also