1
Answer

Binary File Parser with random data

Hi ,
I have various bonary files and i want to parse those with generic logic . 
 
can someone help on this .
 
Currently i using sperate logic for each file 
 
Example :
 
byte[] byteBuffer = File.ReadAllBytes(RESTAppPath);
return new List<string>(System.Text.Encoding.UTF8.GetString(byteBuffer).Substring(254).Trim('\0').Split(new string[] { "\u0003"@\0\0\u0004" }, StringSplitOptions.None)); 
 
Answers (1)