protected override void Initialize(string path, Org.BouncyCastle.Portable.IO.FileMode mode, Org.BouncyCastle.Portable.IO.FileAccess access, Org.BouncyCastle.Portable.IO.FileShare share, int bufferSize) { InternalFileStream = new InternalFileStream(path, ToInternalFileMode(mode), ToInternalFileAccess(access), ToInternalFileShare(share), bufferSize); }
protected static System.IO.FileMode ToInternalFileMode(Org.BouncyCastle.Portable.IO.FileMode fileMode) { return((System.IO.FileMode)((int)fileMode)); }