Esempio n. 1
0
        public static ppHeader.Metadata FinishWriteTo(Stream stream)
        {
            ((CryptoStream)stream).FlushFinalBlock();

            ppHeader.Metadata metadata = new ppHeader.Metadata();
            metadata.LastBytes = ((WakeariStream)stream).LastBytes;
            return(metadata);
        }
Esempio n. 2
0
        public static ppHeader.Metadata FinishWriteTo(Stream stream)
        {
            ((CryptoStream)stream).FlushFinalBlock();

            ppHeader.Metadata metadata = new ppHeader.Metadata();
            metadata.LastBytes = ((WakeariStream)stream).LastBytes;
            return metadata;
        }