文字列に変換された byte[] の最初の 4 つの文を削除する必要があります。
私がこれまでに持っているもの:
//convert bytearray to string, so I can modify the string
string rawString = Convert.ToBase64String(rawByteArray);
//seperate lines
string[] textLines = Regex.Split(rawString, "\r\n");
//I need to substract the first 4 senctences of the string here!
//convert string back to byte array
byte[] cleanByteArray = rawstring.FromBase64String(rawString);
最初の 4 つの文を減算するにはどうすればよいですか?
前もって感謝します!