Exemple #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);
        }
Exemple #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;
        }