java convert byte to unsigned integer

Last Updated on 2011-08-22 by william

byte a = (byte) 0x88;
int unsignedInteger = a&0xff;

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

返回頂端