import java.io.ByteArrayOutputStream; public class RLE{ public static byte[] e(byte[] s){ ByteArrayOutputStream r = new ByteArrayOutputStream(); int a,b,c,d; a=b=c=d=0; a=s[d++]&0xff; while(d