Hello I wanted to ask how I can convert a byte-data into a csv-data (also encoded in utf-8). I don't have much until now because I'm not that familiar with this topic so it would be nice if you could help me a little bit. In the the binary file the personal data is stored in binary form(first name, last name,..(all UTF-8 encoded))
This is the data format:
– Byte 0-9: personal number
– Byte 10-29: first name
– Byte 30-49: last name
– Byte 50-79: E-Mail
The input is this. The not used signs are byts and have the value 0 (can't show it better): enter image description here
The output should be like this: 1;Antonio;Barton;ututuggip@zov.ag
public void convertBin2CSV(String oldFilename, String newFileName) throws IOException{
oldFilename = "C:/Users/User/AppData/Local/Temp/Temp1_2022_WHP.zip/resources/people.dat";
}