dcmjs 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/dcmjs.es.js +160 -145
- package/build/dcmjs.es.js.map +1 -1
- package/build/dcmjs.js +160 -145
- package/build/dcmjs.js.map +1 -1
- package/package.json +1 -1
- package/test/test_data.js +12 -0
package/README.md
CHANGED
|
@@ -36,8 +36,8 @@ _Parts of DICOM that dcmjs will focus on:_
|
|
|
36
36
|
|
|
37
37
|
_Parts of DICOM that dcmjs *will not* focus on:_
|
|
38
38
|
|
|
39
|
-
- DIMSE (legacy networking like C-FIND, C-MOVE, etc)
|
|
40
|
-
- Physical Media (optical disks)
|
|
39
|
+
- DIMSE (legacy networking like C-FIND, C-MOVE, etc). See the [dicom-dimse project](https://github.com/PantelisGeorgiadis/dcmjs-dimse) for that.
|
|
40
|
+
- Physical Media (optical disks). See [this FAQ](https://www.dclunie.com/medical-image-faq/html/index.html) if you need to work with those.
|
|
41
41
|
|
|
42
42
|
# Usage
|
|
43
43
|
|
package/build/dcmjs.es.js
CHANGED
|
@@ -1579,10 +1579,10 @@ function (_ValueRepresentation2) {
|
|
|
1579
1579
|
return frames;
|
|
1580
1580
|
} else {
|
|
1581
1581
|
var bytes;
|
|
1582
|
-
/*if (this.type == 'OW') {
|
|
1583
|
-
bytes = stream.readUint16Array(length);
|
|
1584
|
-
} else if (this.type == 'OB') {
|
|
1585
|
-
bytes = stream.readUint8Array(length);
|
|
1582
|
+
/*if (this.type == 'OW') {
|
|
1583
|
+
bytes = stream.readUint16Array(length);
|
|
1584
|
+
} else if (this.type == 'OB') {
|
|
1585
|
+
bytes = stream.readUint8Array(length);
|
|
1586
1586
|
}*/
|
|
1587
1587
|
|
|
1588
1588
|
bytes = stream.more(length).buffer;
|
|
@@ -1761,10 +1761,25 @@ function (_StringRepresentation5) {
|
|
|
1761
1761
|
|
|
1762
1762
|
return ds;
|
|
1763
1763
|
}
|
|
1764
|
+
}, {
|
|
1765
|
+
key: "formatValue",
|
|
1766
|
+
value: function formatValue(value) {
|
|
1767
|
+
var str = String(value);
|
|
1768
|
+
|
|
1769
|
+
if (str.length > this.maxLength) {
|
|
1770
|
+
return value.toExponential();
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
return str;
|
|
1774
|
+
}
|
|
1764
1775
|
}, {
|
|
1765
1776
|
key: "writeBytes",
|
|
1766
1777
|
value: function writeBytes(stream, value, writeOptions) {
|
|
1767
|
-
var
|
|
1778
|
+
var _this7 = this;
|
|
1779
|
+
|
|
1780
|
+
var val = Array.isArray(value) ? value.map(function (ds) {
|
|
1781
|
+
return _this7.formatValue(ds);
|
|
1782
|
+
}) : [this.formatValue(value)];
|
|
1768
1783
|
return _get(_getPrototypeOf(DecimalString.prototype), "writeBytes", this).call(this, stream, val, writeOptions);
|
|
1769
1784
|
}
|
|
1770
1785
|
}]);
|
|
@@ -1778,14 +1793,14 @@ function (_StringRepresentation6) {
|
|
|
1778
1793
|
_inherits(DateTime, _StringRepresentation6);
|
|
1779
1794
|
|
|
1780
1795
|
function DateTime() {
|
|
1781
|
-
var
|
|
1796
|
+
var _this8;
|
|
1782
1797
|
|
|
1783
1798
|
_classCallCheck(this, DateTime);
|
|
1784
1799
|
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
return
|
|
1800
|
+
_this8 = _possibleConstructorReturn(this, _getPrototypeOf(DateTime).call(this, "DT"));
|
|
1801
|
+
_this8.maxLength = 26;
|
|
1802
|
+
_this8.padByte = "20";
|
|
1803
|
+
return _this8;
|
|
1789
1804
|
}
|
|
1790
1805
|
|
|
1791
1806
|
return DateTime;
|
|
@@ -1797,16 +1812,16 @@ function (_ValueRepresentation4) {
|
|
|
1797
1812
|
_inherits(FloatingPointSingle, _ValueRepresentation4);
|
|
1798
1813
|
|
|
1799
1814
|
function FloatingPointSingle() {
|
|
1800
|
-
var
|
|
1815
|
+
var _this9;
|
|
1801
1816
|
|
|
1802
1817
|
_classCallCheck(this, FloatingPointSingle);
|
|
1803
1818
|
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
return
|
|
1819
|
+
_this9 = _possibleConstructorReturn(this, _getPrototypeOf(FloatingPointSingle).call(this, "FL"));
|
|
1820
|
+
_this9.maxLength = 4;
|
|
1821
|
+
_this9.padByte = "00";
|
|
1822
|
+
_this9.fixed = true;
|
|
1823
|
+
_this9.defaultValue = 0.0;
|
|
1824
|
+
return _this9;
|
|
1810
1825
|
}
|
|
1811
1826
|
|
|
1812
1827
|
_createClass(FloatingPointSingle, [{
|
|
@@ -1830,16 +1845,16 @@ function (_ValueRepresentation5) {
|
|
|
1830
1845
|
_inherits(FloatingPointDouble, _ValueRepresentation5);
|
|
1831
1846
|
|
|
1832
1847
|
function FloatingPointDouble() {
|
|
1833
|
-
var
|
|
1848
|
+
var _this10;
|
|
1834
1849
|
|
|
1835
1850
|
_classCallCheck(this, FloatingPointDouble);
|
|
1836
1851
|
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
return
|
|
1852
|
+
_this10 = _possibleConstructorReturn(this, _getPrototypeOf(FloatingPointDouble).call(this, "FD"));
|
|
1853
|
+
_this10.maxLength = 8;
|
|
1854
|
+
_this10.padByte = "00";
|
|
1855
|
+
_this10.fixed = true;
|
|
1856
|
+
_this10.defaultValue = 0.0;
|
|
1857
|
+
return _this10;
|
|
1843
1858
|
}
|
|
1844
1859
|
|
|
1845
1860
|
_createClass(FloatingPointDouble, [{
|
|
@@ -1863,14 +1878,14 @@ function (_StringRepresentation7) {
|
|
|
1863
1878
|
_inherits(IntegerString, _StringRepresentation7);
|
|
1864
1879
|
|
|
1865
1880
|
function IntegerString() {
|
|
1866
|
-
var
|
|
1881
|
+
var _this11;
|
|
1867
1882
|
|
|
1868
1883
|
_classCallCheck(this, IntegerString);
|
|
1869
1884
|
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
return
|
|
1885
|
+
_this11 = _possibleConstructorReturn(this, _getPrototypeOf(IntegerString).call(this, "IS"));
|
|
1886
|
+
_this11.maxLength = 12;
|
|
1887
|
+
_this11.padByte = "20";
|
|
1888
|
+
return _this11;
|
|
1874
1889
|
}
|
|
1875
1890
|
|
|
1876
1891
|
_createClass(IntegerString, [{
|
|
@@ -1909,14 +1924,14 @@ function (_StringRepresentation8) {
|
|
|
1909
1924
|
_inherits(LongString, _StringRepresentation8);
|
|
1910
1925
|
|
|
1911
1926
|
function LongString() {
|
|
1912
|
-
var
|
|
1927
|
+
var _this12;
|
|
1913
1928
|
|
|
1914
1929
|
_classCallCheck(this, LongString);
|
|
1915
1930
|
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
return
|
|
1931
|
+
_this12 = _possibleConstructorReturn(this, _getPrototypeOf(LongString).call(this, "LO"));
|
|
1932
|
+
_this12.maxCharLength = 64;
|
|
1933
|
+
_this12.padByte = "20";
|
|
1934
|
+
return _this12;
|
|
1920
1935
|
}
|
|
1921
1936
|
|
|
1922
1937
|
_createClass(LongString, [{
|
|
@@ -1936,14 +1951,14 @@ function (_StringRepresentation9) {
|
|
|
1936
1951
|
_inherits(LongText, _StringRepresentation9);
|
|
1937
1952
|
|
|
1938
1953
|
function LongText() {
|
|
1939
|
-
var
|
|
1954
|
+
var _this13;
|
|
1940
1955
|
|
|
1941
1956
|
_classCallCheck(this, LongText);
|
|
1942
1957
|
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
return
|
|
1958
|
+
_this13 = _possibleConstructorReturn(this, _getPrototypeOf(LongText).call(this, "LT"));
|
|
1959
|
+
_this13.maxCharLength = 10240;
|
|
1960
|
+
_this13.padByte = "20";
|
|
1961
|
+
return _this13;
|
|
1947
1962
|
}
|
|
1948
1963
|
|
|
1949
1964
|
_createClass(LongText, [{
|
|
@@ -1963,14 +1978,14 @@ function (_StringRepresentation10) {
|
|
|
1963
1978
|
_inherits(PersonName, _StringRepresentation10);
|
|
1964
1979
|
|
|
1965
1980
|
function PersonName() {
|
|
1966
|
-
var
|
|
1981
|
+
var _this14;
|
|
1967
1982
|
|
|
1968
1983
|
_classCallCheck(this, PersonName);
|
|
1969
1984
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
return
|
|
1985
|
+
_this14 = _possibleConstructorReturn(this, _getPrototypeOf(PersonName).call(this, "PN"));
|
|
1986
|
+
_this14.maxLength = null;
|
|
1987
|
+
_this14.padByte = "20";
|
|
1988
|
+
return _this14;
|
|
1974
1989
|
}
|
|
1975
1990
|
|
|
1976
1991
|
_createClass(PersonName, [{
|
|
@@ -2018,14 +2033,14 @@ function (_StringRepresentation11) {
|
|
|
2018
2033
|
_inherits(ShortString, _StringRepresentation11);
|
|
2019
2034
|
|
|
2020
2035
|
function ShortString() {
|
|
2021
|
-
var
|
|
2036
|
+
var _this15;
|
|
2022
2037
|
|
|
2023
2038
|
_classCallCheck(this, ShortString);
|
|
2024
2039
|
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
return
|
|
2040
|
+
_this15 = _possibleConstructorReturn(this, _getPrototypeOf(ShortString).call(this, "SH"));
|
|
2041
|
+
_this15.maxCharLength = 16;
|
|
2042
|
+
_this15.padByte = "20";
|
|
2043
|
+
return _this15;
|
|
2029
2044
|
}
|
|
2030
2045
|
|
|
2031
2046
|
_createClass(ShortString, [{
|
|
@@ -2045,16 +2060,16 @@ function (_ValueRepresentation6) {
|
|
|
2045
2060
|
_inherits(SignedLong, _ValueRepresentation6);
|
|
2046
2061
|
|
|
2047
2062
|
function SignedLong() {
|
|
2048
|
-
var
|
|
2063
|
+
var _this16;
|
|
2049
2064
|
|
|
2050
2065
|
_classCallCheck(this, SignedLong);
|
|
2051
2066
|
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
return
|
|
2067
|
+
_this16 = _possibleConstructorReturn(this, _getPrototypeOf(SignedLong).call(this, "SL"));
|
|
2068
|
+
_this16.maxLength = 4;
|
|
2069
|
+
_this16.padByte = "00";
|
|
2070
|
+
_this16.fixed = true;
|
|
2071
|
+
_this16.defaultValue = 0;
|
|
2072
|
+
return _this16;
|
|
2058
2073
|
}
|
|
2059
2074
|
|
|
2060
2075
|
_createClass(SignedLong, [{
|
|
@@ -2078,15 +2093,15 @@ function (_ValueRepresentation7) {
|
|
|
2078
2093
|
_inherits(SequenceOfItems, _ValueRepresentation7);
|
|
2079
2094
|
|
|
2080
2095
|
function SequenceOfItems() {
|
|
2081
|
-
var
|
|
2096
|
+
var _this17;
|
|
2082
2097
|
|
|
2083
2098
|
_classCallCheck(this, SequenceOfItems);
|
|
2084
2099
|
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
return
|
|
2100
|
+
_this17 = _possibleConstructorReturn(this, _getPrototypeOf(SequenceOfItems).call(this, "SQ"));
|
|
2101
|
+
_this17.maxLength = null;
|
|
2102
|
+
_this17.padByte = "00";
|
|
2103
|
+
_this17.noMultiple = true;
|
|
2104
|
+
return _this17;
|
|
2090
2105
|
}
|
|
2091
2106
|
|
|
2092
2107
|
_createClass(SequenceOfItems, [{
|
|
@@ -2232,17 +2247,17 @@ function (_ValueRepresentation8) {
|
|
|
2232
2247
|
_inherits(SignedShort, _ValueRepresentation8);
|
|
2233
2248
|
|
|
2234
2249
|
function SignedShort() {
|
|
2235
|
-
var
|
|
2250
|
+
var _this18;
|
|
2236
2251
|
|
|
2237
2252
|
_classCallCheck(this, SignedShort);
|
|
2238
2253
|
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
return
|
|
2254
|
+
_this18 = _possibleConstructorReturn(this, _getPrototypeOf(SignedShort).call(this, "SS"));
|
|
2255
|
+
_this18.maxLength = 2;
|
|
2256
|
+
_this18.valueLength = 2;
|
|
2257
|
+
_this18.padByte = "00";
|
|
2258
|
+
_this18.fixed = true;
|
|
2259
|
+
_this18.defaultValue = 0;
|
|
2260
|
+
return _this18;
|
|
2246
2261
|
}
|
|
2247
2262
|
|
|
2248
2263
|
_createClass(SignedShort, [{
|
|
@@ -2266,14 +2281,14 @@ function (_StringRepresentation12) {
|
|
|
2266
2281
|
_inherits(ShortText, _StringRepresentation12);
|
|
2267
2282
|
|
|
2268
2283
|
function ShortText() {
|
|
2269
|
-
var
|
|
2284
|
+
var _this19;
|
|
2270
2285
|
|
|
2271
2286
|
_classCallCheck(this, ShortText);
|
|
2272
2287
|
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
return
|
|
2288
|
+
_this19 = _possibleConstructorReturn(this, _getPrototypeOf(ShortText).call(this, "ST"));
|
|
2289
|
+
_this19.maxCharLength = 1024;
|
|
2290
|
+
_this19.padByte = "20";
|
|
2291
|
+
return _this19;
|
|
2277
2292
|
}
|
|
2278
2293
|
|
|
2279
2294
|
_createClass(ShortText, [{
|
|
@@ -2293,14 +2308,14 @@ function (_StringRepresentation13) {
|
|
|
2293
2308
|
_inherits(TimeValue, _StringRepresentation13);
|
|
2294
2309
|
|
|
2295
2310
|
function TimeValue() {
|
|
2296
|
-
var
|
|
2311
|
+
var _this20;
|
|
2297
2312
|
|
|
2298
2313
|
_classCallCheck(this, TimeValue);
|
|
2299
2314
|
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
return
|
|
2315
|
+
_this20 = _possibleConstructorReturn(this, _getPrototypeOf(TimeValue).call(this, "TM"));
|
|
2316
|
+
_this20.maxLength = 14;
|
|
2317
|
+
_this20.padByte = "20";
|
|
2318
|
+
return _this20;
|
|
2304
2319
|
}
|
|
2305
2320
|
|
|
2306
2321
|
_createClass(TimeValue, [{
|
|
@@ -2319,15 +2334,15 @@ function (_StringRepresentation14) {
|
|
|
2319
2334
|
_inherits(UnlimitedCharacters, _StringRepresentation14);
|
|
2320
2335
|
|
|
2321
2336
|
function UnlimitedCharacters() {
|
|
2322
|
-
var
|
|
2337
|
+
var _this21;
|
|
2323
2338
|
|
|
2324
2339
|
_classCallCheck(this, UnlimitedCharacters);
|
|
2325
2340
|
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
return
|
|
2341
|
+
_this21 = _possibleConstructorReturn(this, _getPrototypeOf(UnlimitedCharacters).call(this, "UC"));
|
|
2342
|
+
_this21.maxLength = null;
|
|
2343
|
+
_this21.multi = true;
|
|
2344
|
+
_this21.padByte = "20";
|
|
2345
|
+
return _this21;
|
|
2331
2346
|
}
|
|
2332
2347
|
|
|
2333
2348
|
_createClass(UnlimitedCharacters, [{
|
|
@@ -2346,14 +2361,14 @@ function (_StringRepresentation15) {
|
|
|
2346
2361
|
_inherits(UnlimitedText, _StringRepresentation15);
|
|
2347
2362
|
|
|
2348
2363
|
function UnlimitedText() {
|
|
2349
|
-
var
|
|
2364
|
+
var _this22;
|
|
2350
2365
|
|
|
2351
2366
|
_classCallCheck(this, UnlimitedText);
|
|
2352
2367
|
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
return
|
|
2368
|
+
_this22 = _possibleConstructorReturn(this, _getPrototypeOf(UnlimitedText).call(this, "UT"));
|
|
2369
|
+
_this22.maxLength = null;
|
|
2370
|
+
_this22.padByte = "20";
|
|
2371
|
+
return _this22;
|
|
2357
2372
|
}
|
|
2358
2373
|
|
|
2359
2374
|
_createClass(UnlimitedText, [{
|
|
@@ -2373,16 +2388,16 @@ function (_ValueRepresentation9) {
|
|
|
2373
2388
|
_inherits(UnsignedShort, _ValueRepresentation9);
|
|
2374
2389
|
|
|
2375
2390
|
function UnsignedShort() {
|
|
2376
|
-
var
|
|
2391
|
+
var _this23;
|
|
2377
2392
|
|
|
2378
2393
|
_classCallCheck(this, UnsignedShort);
|
|
2379
2394
|
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
return
|
|
2395
|
+
_this23 = _possibleConstructorReturn(this, _getPrototypeOf(UnsignedShort).call(this, "US"));
|
|
2396
|
+
_this23.maxLength = 2;
|
|
2397
|
+
_this23.padByte = "00";
|
|
2398
|
+
_this23.fixed = true;
|
|
2399
|
+
_this23.defaultValue = 0;
|
|
2400
|
+
return _this23;
|
|
2386
2401
|
}
|
|
2387
2402
|
|
|
2388
2403
|
_createClass(UnsignedShort, [{
|
|
@@ -2406,16 +2421,16 @@ function (_ValueRepresentation10) {
|
|
|
2406
2421
|
_inherits(UnsignedLong, _ValueRepresentation10);
|
|
2407
2422
|
|
|
2408
2423
|
function UnsignedLong() {
|
|
2409
|
-
var
|
|
2424
|
+
var _this24;
|
|
2410
2425
|
|
|
2411
2426
|
_classCallCheck(this, UnsignedLong);
|
|
2412
2427
|
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
return
|
|
2428
|
+
_this24 = _possibleConstructorReturn(this, _getPrototypeOf(UnsignedLong).call(this, "UL"));
|
|
2429
|
+
_this24.maxLength = 4;
|
|
2430
|
+
_this24.padByte = "00";
|
|
2431
|
+
_this24.fixed = true;
|
|
2432
|
+
_this24.defaultValue = 0;
|
|
2433
|
+
return _this24;
|
|
2419
2434
|
}
|
|
2420
2435
|
|
|
2421
2436
|
_createClass(UnsignedLong, [{
|
|
@@ -2439,14 +2454,14 @@ function (_StringRepresentation16) {
|
|
|
2439
2454
|
_inherits(UniqueIdentifier, _StringRepresentation16);
|
|
2440
2455
|
|
|
2441
2456
|
function UniqueIdentifier() {
|
|
2442
|
-
var
|
|
2457
|
+
var _this25;
|
|
2443
2458
|
|
|
2444
2459
|
_classCallCheck(this, UniqueIdentifier);
|
|
2445
2460
|
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
return
|
|
2461
|
+
_this25 = _possibleConstructorReturn(this, _getPrototypeOf(UniqueIdentifier).call(this, "UI"));
|
|
2462
|
+
_this25.maxLength = 64;
|
|
2463
|
+
_this25.padByte = "00";
|
|
2464
|
+
return _this25;
|
|
2450
2465
|
}
|
|
2451
2466
|
|
|
2452
2467
|
_createClass(UniqueIdentifier, [{
|
|
@@ -2465,14 +2480,14 @@ function (_StringRepresentation17) {
|
|
|
2465
2480
|
_inherits(UniversalResource, _StringRepresentation17);
|
|
2466
2481
|
|
|
2467
2482
|
function UniversalResource() {
|
|
2468
|
-
var
|
|
2483
|
+
var _this26;
|
|
2469
2484
|
|
|
2470
2485
|
_classCallCheck(this, UniversalResource);
|
|
2471
2486
|
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
return
|
|
2487
|
+
_this26 = _possibleConstructorReturn(this, _getPrototypeOf(UniversalResource).call(this, "UR"));
|
|
2488
|
+
_this26.maxLength = null;
|
|
2489
|
+
_this26.padByte = "20";
|
|
2490
|
+
return _this26;
|
|
2476
2491
|
}
|
|
2477
2492
|
|
|
2478
2493
|
_createClass(UniversalResource, [{
|
|
@@ -2491,15 +2506,15 @@ function (_BinaryRepresentation) {
|
|
|
2491
2506
|
_inherits(UnknownValue, _BinaryRepresentation);
|
|
2492
2507
|
|
|
2493
2508
|
function UnknownValue() {
|
|
2494
|
-
var
|
|
2509
|
+
var _this27;
|
|
2495
2510
|
|
|
2496
2511
|
_classCallCheck(this, UnknownValue);
|
|
2497
2512
|
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
return
|
|
2513
|
+
_this27 = _possibleConstructorReturn(this, _getPrototypeOf(UnknownValue).call(this, "UN"));
|
|
2514
|
+
_this27.maxLength = null;
|
|
2515
|
+
_this27.padByte = "00";
|
|
2516
|
+
_this27.noMultiple = true;
|
|
2517
|
+
return _this27;
|
|
2503
2518
|
}
|
|
2504
2519
|
|
|
2505
2520
|
return UnknownValue;
|
|
@@ -2511,15 +2526,15 @@ function (_BinaryRepresentation2) {
|
|
|
2511
2526
|
_inherits(OtherWordString, _BinaryRepresentation2);
|
|
2512
2527
|
|
|
2513
2528
|
function OtherWordString() {
|
|
2514
|
-
var
|
|
2529
|
+
var _this28;
|
|
2515
2530
|
|
|
2516
2531
|
_classCallCheck(this, OtherWordString);
|
|
2517
2532
|
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
return
|
|
2533
|
+
_this28 = _possibleConstructorReturn(this, _getPrototypeOf(OtherWordString).call(this, "OW"));
|
|
2534
|
+
_this28.maxLength = null;
|
|
2535
|
+
_this28.padByte = "00";
|
|
2536
|
+
_this28.noMultiple = true;
|
|
2537
|
+
return _this28;
|
|
2523
2538
|
}
|
|
2524
2539
|
|
|
2525
2540
|
return OtherWordString;
|
|
@@ -2531,15 +2546,15 @@ function (_BinaryRepresentation3) {
|
|
|
2531
2546
|
_inherits(OtherByteString, _BinaryRepresentation3);
|
|
2532
2547
|
|
|
2533
2548
|
function OtherByteString() {
|
|
2534
|
-
var
|
|
2549
|
+
var _this29;
|
|
2535
2550
|
|
|
2536
2551
|
_classCallCheck(this, OtherByteString);
|
|
2537
2552
|
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
return
|
|
2553
|
+
_this29 = _possibleConstructorReturn(this, _getPrototypeOf(OtherByteString).call(this, "OB"));
|
|
2554
|
+
_this29.maxLength = null;
|
|
2555
|
+
_this29.padByte = "00";
|
|
2556
|
+
_this29.noMultiple = true;
|
|
2557
|
+
return _this29;
|
|
2543
2558
|
}
|
|
2544
2559
|
|
|
2545
2560
|
return OtherByteString;
|
|
@@ -2551,15 +2566,15 @@ function (_BinaryRepresentation4) {
|
|
|
2551
2566
|
_inherits(OtherDoubleString, _BinaryRepresentation4);
|
|
2552
2567
|
|
|
2553
2568
|
function OtherDoubleString() {
|
|
2554
|
-
var
|
|
2569
|
+
var _this30;
|
|
2555
2570
|
|
|
2556
2571
|
_classCallCheck(this, OtherDoubleString);
|
|
2557
2572
|
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
return
|
|
2573
|
+
_this30 = _possibleConstructorReturn(this, _getPrototypeOf(OtherDoubleString).call(this, "OD"));
|
|
2574
|
+
_this30.maxLength = null;
|
|
2575
|
+
_this30.padByte = "00";
|
|
2576
|
+
_this30.noMultiple = true;
|
|
2577
|
+
return _this30;
|
|
2563
2578
|
}
|
|
2564
2579
|
|
|
2565
2580
|
return OtherDoubleString;
|
|
@@ -2571,15 +2586,15 @@ function (_BinaryRepresentation5) {
|
|
|
2571
2586
|
_inherits(OtherFloatString, _BinaryRepresentation5);
|
|
2572
2587
|
|
|
2573
2588
|
function OtherFloatString() {
|
|
2574
|
-
var
|
|
2589
|
+
var _this31;
|
|
2575
2590
|
|
|
2576
2591
|
_classCallCheck(this, OtherFloatString);
|
|
2577
2592
|
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
return
|
|
2593
|
+
_this31 = _possibleConstructorReturn(this, _getPrototypeOf(OtherFloatString).call(this, "OF"));
|
|
2594
|
+
_this31.maxLength = null;
|
|
2595
|
+
_this31.padByte = "00";
|
|
2596
|
+
_this31.noMultiple = true;
|
|
2597
|
+
return _this31;
|
|
2583
2598
|
}
|
|
2584
2599
|
|
|
2585
2600
|
return OtherFloatString;
|