public static byte[] UnzipBinary([SqlFacet(MaxSize = -1)] byte[] compressedBytes) { return(GZip.Decompress(compressedBytes)); }
public static byte[] ZipBinary([SqlFacet(MaxSize = -1)] byte[] notCompressedBytes) { return(GZip.Compress(notCompressedBytes)); }