>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  BIT_BYTE_REVERSE

BIT_BYTE_REVERSE

BIT_BYTE_REVERSE

Name


      BIT_BYTE_REVERSE

Purpose


      Return value made by reversing the bits of given byte value.

Category


Calling Sequence


      rval = bit_byte_reverse(val)

Inputs


      val = Given byte value (may be an array). in
      rval = Returned byte value. in

Keyword Parameters


Outputs


Common Blocks


      bit_byte_reverse_com

Notes


      Note: Only reverses the bits in each byte.
      The byte order is not changed. So this routine will
      not do a complete bit reversal for anything other than
      a single byte.
     
      See bit_reverse to reverse all bits.

Modification History


      R. Sterner, 2011 Jun 24
      R. Sterner, 2011 Aug 22 --- Renamed, rewrote lookup table.
  Copyright (C) 2011, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us