public SGMLactor(Uri url, int type) { this._uri = url; _flat = new flat(); string adv_number = url.Segments[url.Segments.Length-1]; _flat.uid = int.Parse(adv_number.Split('.')[0]); _type = (RealtyType)type; }
public int Decompress(byte[] dd, int Len, ref byte[] rv) { int rLen = -1; flat inflater = new flat(false); try { inflater.SetInput(dd); inflater.Inflate(rv); rLen = (int)inflater.TotalOut; } catch (Exception Ex) { List1.Items.Add(Ex.ToString()); rLen = -1; } return rLen; }