示例#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;
 }