public GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int | ||
s | string | |
charIndex | int | |
charCount | int | |
bytes | byte | |
byteIndex | int | |
리턴 | int |
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
throw null;
}
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); }