Пример #1
0
 public void GetByteCount(UTF7Encoding encoding, string chars, int index, int count, int expected)
 {
     EncodingHelpers.GetByteCount(encoding, chars, index, count, expected);
 }
Пример #2
0
 public void GetByteCount(string chars, int index, int count, int expected)
 {
     EncodingHelpers.GetByteCount(new UTF8Encoding(), chars, index, count, expected);
 }
Пример #3
0
 private void GetByteCount(string chars, int index, int count, int expected)
 {
     EncodingHelpers.GetByteCount(new ASCIIEncoding(), chars, index, count, expected);
 }