Example #1
0
        public static StreamReaders OpenTextStream(string fileName, ste encoding)
        {
            StreamReaders sr = new StreamReaders();

            sr.strRead = new sio.StreamReader(fileName, encoding);

            return sr;
        }
Example #2
0
        public static StreamReaders OpenMemoryStream(string fileName, ste encoding)
        {
            StreamReaders sr = new StreamReaders();

            sr.str = BaseStreams.OpenMemoryStream(fileName).str;
            sr.binRead = new sio.BinaryReader(sr.str, encoding);

            return sr;
        }