public void testLengthEncoder() { byte[] arry = { 57, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 30, 1, 0, 0, 0, 0, 0 }; byte[] arry2 = { 102, 63, 2, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 30, 1, 0, 0, 0, 0, 0 }; List <byte[]> arrylist = new List <byte[]>(); arrylist.Add(arry); arrylist.Add(arry2); RunLengthEncoder coder = new RunLengthEncoder(arrylist); RLEObject test = coder.encodeACRunLength(); //test[0].WriteToFile("C:/Users/Maddin/Desktop/jeptest.txt"); // Console.ReadKey(); }
public void testLengthEncoder() { byte[] arry = {57,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,30,1,0,0,0,0,0 }; byte[] arry2 = { 102, 63, 2, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 30, 1, 0, 0, 0, 0, 0 }; List<byte[]> arrylist = new List<byte[]>(); arrylist.Add(arry); arrylist.Add(arry2); RunLengthEncoder coder = new RunLengthEncoder(arrylist); RLEObject test = coder.encodeACRunLength(); //test[0].WriteToFile("C:/Users/Maddin/Desktop/jeptest.txt"); // Console.ReadKey(); }