Example #1
0
        public static void Test()
        {
            FileInputStream fi = new FileInputStream();

            MemoryInputStream   mi = new MemoryInputStream(fi);
            BufferedInputStream bi = new BufferedInputStream(mi);

            bi.Read();
            bi.Write("Hello,inputstream");
        }
Example #2
0
        public static void Test()
        {
            FileInputStream fi = new FileInputStream();

            MemoryInputStream mi = new MemoryInputStream(fi);
            BufferedInputStream bi = new BufferedInputStream(mi);

            bi.Read();
            bi.Write("Hello,inputstream");
        }