reading a unsigned char  in readDouble