示例#1
0
        public static string ReadAllText(byte[] datagram)
        {
            BasicEncodingReader reader = new BasicEncodingReader(datagram);
            var all = reader.ReadConstructedType();

            StringBuilder sb = new StringBuilder();

            FormatContent(ref sb, all, "");
            return(sb.ToString());
        }
示例#2
0
        public static string ReadAllText(byte[] datagram)
        {
            BasicEncodingReader reader = new BasicEncodingReader(datagram);
            var all = reader.ReadConstructedType();

            StringBuilder sb= new StringBuilder();
            FormatContent(ref sb, all, "");
            return sb.ToString();
        }