private static char[] GetChars(MemoryStream b, Encoding e) { var array = b.ToArray(); return(e.GetChars(array, 0, (int)b.Length)); }
private static char[] GetChars(MemoryStream b, Encoding e) { var array = b.ToArray(); return(e.GetChars(array, 0, (int)b.Length)); }