Ejemplo n.º 1
0
 public static void ProcessStream(Stream csvStream, CsvReaderVisitorBase visitor, int bufferSize)
 {
     CsvSyncInput.ForStream(csvStream)
     .WithMinReadBufferByteCount(bufferSize)
     .WithReadBufferPool(null)
     .WithIgnoreUTF8ByteOrderMark(false)
     .Process(visitor);
 }
Ejemplo n.º 2
0
 public static void ProcessFile(string csvFilePath, CsvReaderVisitorBase visitor)
 {
     CsvSyncInput.ForMemoryMappedFile(csvFilePath)
     .WithIgnoreUTF8ByteOrderMark(false)
     .Process(visitor);
 }