Пример #1
0
        internal byte[] GetBytes()
        {
            StringBuilder sb = new StringBuilder();

            _c14nDoc.Write(sb, DocPosition.BeforeRootElement, _ancMgr);
            UTF8Encoding utf8 = new UTF8Encoding(false);

            return(utf8.GetBytes(sb.ToString()));
        }
Пример #2
0
        internal byte[] GetBytes()
        {
            StringBuilder sb = new StringBuilder();

            _c14nDoc.Write(sb, _ancMgr);
            UTF8Encoding utf8 = new UTF8Encoding(false);

            return(utf8.GetBytes(sb.ToString()));
        }