Skip to content

DicomMessage._read() Sets Decoder Too Late in Some Cases #451

@ep5000

Description

@ep5000

Looking at the function DicomMessage._read() and the following section:

if (cleanTagString === "00080005")  {
...
bufferStream.setDecoder(new TextDecoder(coding));

the above assumes that cleanTagString === "00080005" will be encountered before other encoded tags. If this does not hold true then this will be set too late.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions