 buf[0] = (num0 & 0xff000000) >> 00;   buf[0] = (num0 & 0xff0000) >> 00;   buf[0] = (num0 & 0xff00) >> 0;   buf[0] =  num0 & 0xff;  buf[0] = (num0 & 0xff000000) >> 00;   buf[0] = (num0 & 0xff0000) >> 00;   buf[0] = (num0 & 0xff00) >> 0;   buf[0] =  num0 & 0xff;  