scala> Integer.parseInt("FF", 16).toByte res6: Byte = -1 scala> Integer.parseInt("FA", 16).toByte res7: Byte = -6
こちらが非常に参考になりました。
scala> Integer.parseInt("FF", 16).toByte res6: Byte = -1 scala> Integer.parseInt("FA", 16).toByte res7: Byte = -6
こちらが非常に参考になりました。