public void GetBytes(string source, int index, int count, byte[] expected) { EncodingHelpers.Encode(new UnicodeEncoding(), source, index, count, expected); }
public void GetString(byte[] bytes, int index, int count, string expected) { EncodingHelpers.GetString(new UnicodeEncoding(), bytes, index, count, expected); }
public void GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int expected) { EncodingHelpers.GetChars(new UnicodeEncoding(), bytes, byteIndex, byteCount, chars, charIndex, expected); }
public void GetBytes(string source, int index, int count, byte[] bytes, int byteIndex, byte[] expectedBytes) { EncodingHelpers.GetBytes(new UnicodeEncoding(), source, index, count, bytes, byteIndex, expectedBytes); }
public void Decode_BigEndian(byte[] bytes, int index, int count, string expected) { EncodingHelpers.Decode(new UnicodeEncoding(true, false), bytes, index, count, expected); EncodingHelpers.Decode(new UnicodeEncoding(true, true), bytes, index, count, expected); }
public void GetBytes_Invalid() { EncodingHelpers.GetBytes_Invalid(new UnicodeEncoding()); }
public void GetCharCount(byte[] bytes, int index, int count, int expected) { EncodingHelpers.GetCharCount(new UTF8Encoding(), bytes, index, count, expected); }
private void GetByteCount(string chars, int index, int count, int expected) { EncodingHelpers.GetByteCount(new ASCIIEncoding(), chars, index, count, expected); }
public void GetChars(byte[] bytes, int index, int count, char[] expected) { EncodingHelpers.Decode(new UTF8Encoding(), bytes, index, count, expected); }
public void Encode(string chars, int index, int count, byte[] expected) { EncodingHelpers.Encode(new UTF8Encoding(), chars, index, count, expected); }
public void GetMaxCharCount_Invalid() { EncodingHelpers.GetMaxCharCount_Invalid(new UnicodeEncoding()); }
public void Decode(byte[] bytes, int index, int count, string expected) { EncodingHelpers.Decode(new UTF7Encoding(true), bytes, index, count, expected); EncodingHelpers.Decode(new UTF7Encoding(false), bytes, index, count, expected); }
public void GetByteCount(UTF7Encoding encoding, string chars, int index, int count, int expected) { EncodingHelpers.GetByteCount(encoding, chars, index, count, expected); }
public void GetString_Invalid() { EncodingHelpers.GetString_Invalid(new UnicodeEncoding()); }
public void GetByteCount(string chars, int index, int count, int expected) { EncodingHelpers.GetByteCount(new UTF8Encoding(), chars, index, count, expected); }
public void Encode_Advanced(bool allowOptionals, string source, int index, int count, byte[] expected) { EncodingHelpers.Encode(new UTF7Encoding(allowOptionals), source, index, count, expected); }
public void GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, char[] expectedChars) { EncodingHelpers.GetChars(new UTF8Encoding(), bytes, byteIndex, byteCount, chars, charIndex, expectedChars); }