示例#1
0
        public override InputStream GetDataStream(DirectoryNode dir)
        {
            DocumentInputStream dis = dir.CreateDocumentInputStream(DEFAULT_POIFS_ENTRY);

            _length = dis.ReadLong();

            var stream = new AgileCipherInputStream(dis, _length, builder, this);

            stream.Position = 0;
            return(stream);
        }
示例#2
0
        public override InputStream GetDataStream(DirectoryNode dir)
        {
            DocumentInputStream dis = dir.CreateDocumentInputStream(DEFAULT_POIFS_ENTRY);

            _length = dis.ReadLong();

            ChunkedCipherInputStream cipherStream = new AgileCipherInputStream(dis, _length, builder, this);

            throw new NotImplementedException("AgileCipherInputStream should be derived from InputStream");
            //return cipherStream.GetStream();
        }