예제 #1
0
        public override int Read(byte[] buffer, int offset, int count)
        {
            byte[] inRead  = new byte[count];
            int    numRead = m_stream.Read(inRead, count);

            Array.Copy(inRead, 0, buffer, offset, count);

            return(numRead);
        }
예제 #2
0
 public int Read([Out] byte[] data, int size)
 {
     return(m_realStream.Read(data, size));
 }