예제 #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);
 }