private byte[] Uncompress(byte[] b) { try { return(CompressionTools.Decompress(b)); } catch (Exception e) { // this will happen if the field is not compressed CorruptIndexException newException = new CorruptIndexException("field data are in wrong format: " + e.ToString(), e); throw newException; } }
private byte[] Uncompress(byte[] b) { try { return CompressionTools.Decompress(b); } catch (Exception e) { // this will happen if the field is not compressed CorruptIndexException newException = new CorruptIndexException("field data are in wrong format: " + e.ToString(), e); throw newException; } }