File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,10 @@ export class DatatypeMessage {
41
41
return [ 'REFERENCE' , datatype_msg . get ( 'size' ) ] ;
42
42
}
43
43
else if ( datatype_class == DATATYPE_ENUMERATED ) {
44
- throw "Enumerated datatype class not supported."
44
+ // enumerated base class datatype message starts at end of
45
+ // enum datatype message, and offset is already advanced above,
46
+ // so just run the same function again to get base class:
47
+ return this . determine_dtype ( ) ;
45
48
}
46
49
else if ( datatype_class == DATATYPE_ARRAY ) {
47
50
throw "Array datatype class not supported."
@@ -134,7 +137,7 @@ export class DatatypeMessage {
134
137
return [ 'VLEN_STRING' , padding_type , character_set ] ;
135
138
}
136
139
_determine_dtype_compound ( datatype_msg ) {
137
- throw "not yet implemented!" ;
140
+ throw "Compound type not yet implemented!" ;
138
141
}
139
142
}
140
143
You can’t perform that action at this time.
0 commit comments