예제 #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");
        }
예제 #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");
        }