Re: question for Russ - signed vs. unsigned char and NC_BYTE

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Ed,

I wrote:

> ... so users can still treat NC_BYTE data as unsigned char if they
> want to.

I should have added that if a user chooses to treat NC_BYTE data as
unsigned, the type conversion functions will still treat it as signed,
so that user had better be accessing the data with only the uchar
functions so no type conversion is attempted.  There are users who
want NC_BYTE data treated as unsigned, and they use the uchar
functions to access it.

--Russ

  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: