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.
バイナリ文字列 (例) に変換されたファイルがString = "101001010101"あり、この文字列をファイルに書き込むにはこれが必要です。
String = "101001010101"
このバイナリ文字列を次のように取得します。
File -> byte[] -> FileInputStream -> String
これをファイルに戻すにはどうすればよいですか?