public unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder) { // Use null pointer to ask GetBytes for count return GetBytes(chars, count, null, 0, baseEncoder); }