public override int GetByteCount(string s)
{
throw null;
}
UTF7Encoding::GetByteCount ( char chars, int count ) : int | |
UTF7Encoding::GetByteCount ( char chars, int index, int count ) : int |
public void PosTest2() { Byte[] bytes; Char[] chars = new Char[] { }; UTF7Encoding UTF7 = new UTF7Encoding(); int byteCount = UTF7.GetByteCount(chars, 0, 0); bytes = new Byte[byteCount]; int bytesEncodedCount = UTF7.GetBytes(chars, 0, 0, bytes, 0); Assert.Equal(0, bytesEncodedCount); }