smalltalk
/
osmo-st-asn1
Archived
1
0
Fork 0

ber: Provide a nicer name for the BERTag (include the tuple)

This commit is contained in:
Holger Hans Peter Freyther 2011-03-30 14:09:00 +02:00
parent 4d0b83c099
commit bb2cea8520
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ Object subclass: BERTag [
<category: 'conversion'>
^ Array with: self classType with: self isConstructed with: self tagValue.
]
printOn: aStream [
<category: 'printing'>
^ aStream nextPutAll: '%1 %2' % {self class. self asTuple.}
]
]
Object subclass: BERLength [