You can convert signed bytes (-128 to +127) to unsigned (0 to 255) using bitwise And eg:
For I = 0 to 255 step 15
Dim B As Byte = I
Dim UnsignedValue As Int = Bit.And(B, 0xFF) 'converts signed Byte value to unsigned
Log(I & Tab & B & Tab & UnsignedValue)
Next
If you take the variable that contains -64 (could be 8-bit Byte 0xC0, or 16-bit Short 0xFFC0, or 32-bit Int 0xFFFFFFC0) and do a Bit.And(variable, 0xFF) on it, it will return just the lower 8 bits 0x000000C0 ie 0xC0 ie 192.