fix: unsigned byte attribute type conversion #11

This commit is contained in:
REAndroid 2023-01-16 05:14:12 -05:00
parent b55904f564
commit 1c53bd295c

View File

@ -74,9 +74,9 @@ import java.util.*;
if(vt==null){
continue;
}
i=i|vt.mByte;
i=i|(0xff & vt.mByte);
}
return (byte) i;
return (byte) (0xff & i);
}
public static AttributeValueType valueOf(byte b){
AttributeValueType[] all=values();