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

UNPACK12

UNPACK12

Name


      UNPACK12

Purpose


      Unpack 12-bit data into 16-bit data.

Category


Calling Sequence


      in = unpack12(bb)

Inputs


      bb = byte array with packed 12-bit data. in

Keyword Parameters


Keywords


        ERROR=err Error flag: 0=ok, 1=error: wrong number of bytes.

Outputs


      in = returned unsigned 16-bit integer data. out

Common Blocks


Notes


      Note: Must have correct number of bytes in bb to
      contain a whole number of unpacked values.
      Invalid numbers of bytes: 1, 4, 7, 10, ...

Modification History


      R. Sterner, 2002 Oct 29
  Copyright (C) 2002, 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