/// <summary>Get decryptor from pool</summary> /// <exception cref="System.IO.IOException"/> private Decryptor GetDecryptor() { Decryptor decryptor = decryptorPool.Poll(); if (decryptor == null) { try { decryptor = codec.CreateDecryptor(); } catch (GeneralSecurityException e) { throw new IOException(e); } } return(decryptor); }