Example #1
0
 /// <summary>
 /// Create a new file reader that sends the data read to a buffer stream
 /// object
 /// </summary>
 /// <param name="buffer">the buffer to receive the data</param>
 public FileReader(WriteBufferPool buffer)
 {
     m_buffer_stream = buffer;
     m_reader        = new OsFileReader();
 }
Example #2
0
 /// <summary>
 /// Create a new file reader that sends the data read to a buffer stream
 /// object
 /// </summary>
 /// <param name="buffer">the buffer to receive the data</param>
 public FileReader(WriteBufferPool buffer)
 {
     m_buffer_stream = buffer;
     m_reader = new OsFileReader();
 }