Is it possible to write a string of zeros and ones in java to a binary file? But then you can read this binary file, and its contents must be equal to the initial line of zeros and ones. That is, for example, there is a string String OPER = "00100011101"; I write it into a binary file, then I read it, and this should be written on the command line: 00100011101 .
|
"00100011101". Expansion and content, as you understand, do not affect each other. - VladD'0', 1 ->'1'), and construct a string from an array of characters. - VladD