public abstract GetByteCount ( char chars, int count, |
||
chars | char | |
count | int | |
encoder | ||
return | int |
public unsafe abstract int GetByteCount(char* chars, int count, EncoderNLS encoder);
EncodingNLS::GetByteCount ( String s ) : int | |
EncodingNLS::GetByteCount ( char chars, int count ) : int | |
EncodingNLS::GetByteCount ( char chars, int index, int count ) : int |
public override unsafe int GetByteCount(char *chars, int count, bool flush) { if (chars is null) { throw new ArgumentNullException(nameof(chars)); } if (count < 0) { throw new ArgumentOutOfRangeException(nameof(count), SR.ArgumentOutOfRange_NeedNonNegNum); } m_mustFlush = flush; m_throwOnOverflow = true; return(m_encoding.GetByteCount(chars, count, this)); }