if (targetType.equals(UnsignedByte.class))
return bool ? new UnsignedByte((byte) 1) : new UnsignedByte((byte) 0);
if (targetType.equals(UnsignedShort.class))
return bool ? new UnsignedShort(1) : new UnsignedShort(0);
if (targetType.equals(UnsignedInteger.class))
return bool ? new UnsignedInteger(1) : new UnsignedInteger(0);
if (targetType.equals(UnsignedLong.class))
return bool ? new UnsignedLong("1") : new UnsignedLong("0");
if (targetType.equals(SignedByte.class))
return bool ? new SignedByte("1") : new SignedByte("0");
if (targetType.equals(BigInteger.class))