ber: Make it possible to compare tags
This commit is contained in:
parent
04440b5525
commit
b77da9be3f
|
@ -107,6 +107,13 @@ Object subclass: BERTag [
|
|||
constructed := false.
|
||||
]
|
||||
|
||||
= aOther [
|
||||
<category: 'compare'>
|
||||
|
||||
(aOther isKindOf: self class) ifTrue: [^self asTuple = aOther asTuple].
|
||||
^ self asTuple = aOther.
|
||||
]
|
||||
|
||||
parseExtendedTag: aStream [
|
||||
<category: 'decoding'>
|
||||
|
||||
|
|
Reference in New Issue