-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(imports): use TransferSyntaxUID constants from /constants/di…
…com.js in DicomMessage.js, Tag.js, data.test.js (#348)
- Loading branch information
Showing
4 changed files
with
41 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
module.exports = Object.freeze({ | ||
// TransferSyntaxUIDs | ||
IMPLICIT_LITTLE_ENDIAN: "1.2.840.10008.1.2", | ||
EXPLICIT_LITTLE_ENDIAN: "1.2.840.10008.1.2.1", | ||
DEFLATED_EXPLICIT_LITTLE_ENDIAN: "1.2.840.10008.1.2.1.99", | ||
EXPLICIT_BIG_ENDIAN: "1.2.840.10008.1.2.2", | ||
// TransferSyntaxUIDs | ||
export const IMPLICIT_LITTLE_ENDIAN = "1.2.840.10008.1.2"; | ||
export const EXPLICIT_LITTLE_ENDIAN = "1.2.840.10008.1.2.1"; | ||
export const DEFLATED_EXPLICIT_LITTLE_ENDIAN = "1.2.840.10008.1.2.1.99"; | ||
export const EXPLICIT_BIG_ENDIAN = "1.2.840.10008.1.2.2"; | ||
|
||
// Data Element Length | ||
UNDEFINED_LENGTH: 0xffffffff, | ||
ITEM_DELIMITATION_LENGTH: 0x00000000, | ||
// Data Element Length | ||
export const UNDEFINED_LENGTH = 0xffffffff; | ||
export const ITEM_DELIMITATION_LENGTH = 0x00000000; | ||
|
||
// Delimitation Value | ||
SEQUENCE_DELIMITATION_VALUE: 0x00000000 | ||
}); | ||
// Delimitation Value | ||
export const SEQUENCE_DELIMITATION_VALUE = 0x00000000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters