public static IC1StreamReader CreateStreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
        {
            IIOProvider ioProvider = GetIOProvider();

            return(ioProvider.CreateStreamReader(stream, encoding, detectEncodingFromByteOrderMarks, bufferSize));
        }