public GetCharCount ( byte bytes, int index, int count ) : int | ||
bytes | byte | |
index | int | |
count | int | |
return | int |
public override int GetCharCount(byte[] bytes, int index, int count)
{
throw null;
}
UnicodeEncoding::GetCharCount ( byte bytes, int count ) : int |
public void PosTest4() { Char[] chars = GetCharArray(10); Byte[] bytes = new Byte[20]; UnicodeEncoding uEncoding = new UnicodeEncoding(); int byteCount = uEncoding.GetBytes(chars, 0, 10, bytes, 0); int actualValue; actualValue = uEncoding.GetCharCount(bytes, 20, 0); Assert.Equal(0, actualValue); }