UninterpretedBytes.st
changeset 22102 a1ffa53d31c7
parent 22055 221af6bb04d4
child 22161 d941d4d4246e
equal deleted inserted replaced
22101:bf59a1a919c7 22102:a1ffa53d31c7
  4689 ! !
  4689 ! !
  4690 
  4690 
  4691 !UninterpretedBytes methodsFor:'image manipulation support'!
  4691 !UninterpretedBytes methodsFor:'image manipulation support'!
  4692 
  4692 
  4693 copyReverse
  4693 copyReverse
       
  4694     <resource: #obsolete>
  4694     "create a copy of myself with elements reversed in order"
  4695     "create a copy of myself with elements reversed in order"
  4695 
  4696 
  4696     ^ self copy reverse
  4697     self obsoleteMethodWarning:'use #reversed'.
       
  4698 
       
  4699     ^ self reversed
  4697 
  4700 
  4698     "
  4701     "
  4699      #[1 2 3 4 5] copyReverse
  4702      #[1 2 3 4 5] copyReverse
  4700      #[1 2 3 4] copyReverse
  4703      #[1 2 3 4] copyReverse
  4701     "
  4704     "
       
  4705 
       
  4706     "Modified: / 25-07-2017 / 17:10:02 / stefan"
  4702 !
  4707 !
  4703 
  4708 
  4704 swapBytes
  4709 swapBytes
  4705     "swap bytes (of int16s) inplace -
  4710     "swap bytes (of int16s) inplace -
  4706      Expects that the receiver has an even number of bytes;
  4711      Expects that the receiver has an even number of bytes;