Decode
DicomEncoding.Decode method
Decodes all the byte fragments in the specified Byte array into a String using a set of the given encodings.
public virtual string Decode(Span<byte> data, Encoding[] encodings, ReadOnlySpan<byte> delimiters)
| Parameter | Type | Description |
|---|---|---|
| data | Span`1 | The Byte data to be decoded into a String (can be multi-charset). |
| encodings | Encoding[] | A list of registered encodings that can be used to decode the given data. |
| delimiters | ReadOnlySpan`1 | Delimiters in text values that reset the encoding. |
Return Value
A String that contains the results of decoding the specified sequence of bytes.
Exceptions
| exception | condition |
|---|---|
| MedicalApiException | Unknown escape sequence found in the given fragment. |
See Also
- class DicomEncoding
- namespace Aspose.Medical.Common.Text
- assembly Aspose.Medical