Example #1
0
 public static byte[] Uncompress(byte[] data, int align = 4)
 {
     using (var stream = new MemoryStream(data))
     {
         return(RleCompress.Uncompress(stream, align));
     }
 }
Example #2
0
        private static byte[] Uncompress(Stream stream, int height, int width, int align = 4)
        {
            var realLength = height * width * align;

            return(RleCompress.Uncompress(stream, align, realLength));
        }