--- a/WordArray.st Mon Feb 13 20:44:15 2017 +0100
+++ b/WordArray.st Mon Feb 13 20:44:57 2017 +0100
@@ -65,6 +65,8 @@
"
! !
+
+
!WordArray class methodsFor:'queries'!
elementByteSize
@@ -90,13 +92,14 @@
^ 0
! !
+
!WordArray methodsFor:'accessing'!
unsignedInt16At:index MSB:msb
"return the 2-bytes starting at index as an (unsigned) Integer.
The index is a smalltalk index (i.e. 1-based).
The value is retrieved MSB (high 8 bits at lower index) if msb is true;
- LSB-first (i.e. low 8-bits at lower byte index) if its false.
+ LSB-first (i.e. low 8-bits at lower byte index) if it's false.
Notice:
the index is a byte index; thus, this allows for unaligned access to
words on any boundary"
@@ -124,6 +127,8 @@
#(16rFFEE 16r0403 16r0605) asWordArray wordAt:1 MSB:false
#(16rFFEE 16r0403 16r0605) asWordArray wordAt:1 MSB:true
"
+
+ "Modified (comment): / 13-02-2017 / 20:34:38 / cg"
! !
!WordArray class methodsFor:'documentation'!