DicomEncoding
DicomEncoding class
Handles alternate character sets for DICOM character strings.
public class DicomEncoding : IDicomEncoding
Properties
Methods
| Name | Description |
|---|
| virtual 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. |
| virtual GetByteCount(string, Encoding[], ReadOnlySpan<byte>) | |
| virtual GetBytes(string, Encoding[], byte, ReadOnlySpan<byte>) | Encodes all the characters in the specified string into a Byte’s array. |
| virtual 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. |
Fields
| Name | Description |
|---|
| static readonly Default | Default encoding used in DICOM. |
| static readonly Defaults | Default encodings used in DICOM. |
See Also