UninterpretedBytes must not raise a #subclassResponsibility for #byteAt:put:
- otherwise UDSocketAddress breaks.
--- a/UninterpretedBytes.st Wed Jun 10 16:45:37 2009 +0200
+++ b/UninterpretedBytes.st Wed Jun 10 16:47:47 2009 +0200
@@ -381,22 +381,6 @@
"
!
-byteAt:index
- "return the byte at index.
- For ByteArray, this is the same as basicAt:;
- however, for strings or symbols, this returns a numeric byteValue
- instead of a character."
-
- ^ self subclassResponsibility
-!
-
-byteAt:index put:value
- "set the byte at index. For ByteArray, this is the same as basicAt:put:.
- However, for Strings, this expects a byteValue to be stored."
-
- ^ self subclassResponsibility
-!
-
signedByteAt:index
"return the byte at index as a signed 8 bit value.
The index is a smalltalk index (i.e. 1-based).
@@ -2441,5 +2425,5 @@
!UninterpretedBytes class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/UninterpretedBytes.st,v 1.67 2008-10-19 11:12:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UninterpretedBytes.st,v 1.68 2009-06-10 14:47:47 stefan Exp $'
! !