예제 #1
0
        public object Clone()
        {
            var stream = new BufferedIOStream <T>(FCapacity);

            stream.Length = Length;
            Array.Copy(FBuffer, stream.FBuffer, stream.FBuffer.Length);
            return(stream);
        }
예제 #2
0
 internal StreamReader(BufferedIOStream <T> stream)
 {
     FStream = stream;
 }
예제 #3
0
 internal StreamReader(BufferedIOStream <T> stream)
 {
     FStream = stream;
     FBuffer = stream.FBuffer;
     FLength = stream.FLength;
 }
예제 #4
0
 internal StreamWriter(BufferedIOStream <T> stream)
 {
     FStream = stream;
 }