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()); }
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(); }