Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java は 2 の補数を使用してバイト型を表すことを理解しています。しかし、0 ~ 255 の範囲の数値を表す文字列をバイトに解析する簡単な方法はありますか?
たとえば、次のコードが値 (218、230 など) を解析できることを期待しています。
Byte.valueOf((String) value)