'From Squeak3.6 of ''6 October 2003'' [latest update: #5424] on 22 November 2003 at 4:42:52 am'! !MatrixTransform2x3 methodsFor: 'objects from disk' stamp: 'sumim 11/22/2003 02:46'! restoreEndianness "This word object was just read in from a stream. It was stored in Big Endian (Mac) format. Reverse the byte order if the current machine is Little Endian. We only intend this for non-pointer arrays. Do nothing if I contain pointers." self class isPointers | self class isWords not ifTrue: [^ self]. Smalltalk isLittleEndian ifTrue: [Smalltalk swapBytesIn: self from: 1 to: self basicSize] ! ! ShortRunArray removeSelector: #restoreEndianness! ShortIntegerArray removeSelector: #restoreEndianness!