7 <primitive: 'ByteString_at'>
9 ifTrue: [ self error: 'index out of bounds' ].
11 ifTrue: [ ^ self at: anInteger asInteger ]
12 ifFalse: [ self error: 'index is not an integer']!
15 at: anInteger put: aCharacter
16 <primitive: 'ByteString_at_put'>
17 aCharacter isCharacter
18 ifFalse: [self error: 'object is not a character'].
20 ifTrue: [self error: 'index out of bounds'].
22 ifTrue: [^ self at: anInteger asInteger]
23 ifFalse: [self error: 'index is not an integer']!
28 <primitive: 'ByteString_size'>
35 <primitive: 'ByteString_compare'>
36 self error: 'argument is not a ByteString'!
40 <primitive: 'ByteArray_hash'>