GSM48: Start parsing message types
This commit is contained in:
parent
77367851c0
commit
a97775635e
15
GSM48.st
15
GSM48.st
|
@ -14,6 +14,21 @@ Object subclass: GSM48KeySeqLuType [
|
|||
yourself
|
||||
]
|
||||
|
||||
GSM48KeySeqLuType class >> length: aByteArray [
|
||||
"We always need a byte"
|
||||
^ 1
|
||||
]
|
||||
|
||||
GSM48KeySeqLuType class >> parseFrom: aByteArray [
|
||||
^ self new
|
||||
val: (aByteArray at: 1);
|
||||
yourself
|
||||
]
|
||||
|
||||
val [
|
||||
^ val
|
||||
]
|
||||
|
||||
val: aVal [
|
||||
<category: 'creation'>
|
||||
val := aVal.
|
||||
|
|
Reference in New Issue