BufferedFileReader 1.0.0

Suggested Alternatives

FileIO.dll

Additional Details

Please use FileIO which contains BufferedFileReader!

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package BufferedFileReader --version 1.0.0
                    
NuGet\Install-Package BufferedFileReader -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BufferedFileReader" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BufferedFileReader" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="BufferedFileReader" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BufferedFileReader --version 1.0.0
                    
#r "nuget: BufferedFileReader, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=BufferedFileReader&version=1.0.0
                    
Install BufferedFileReader as a Cake Addin
#tool nuget:?package=BufferedFileReader&version=1.0.0
                    
Install BufferedFileReader as a Cake Tool

Intro


Buffered file reader for text (ASCII) and binary files, specifically useful for parallel file parsing and/or for large files.


Why buffering?


'Buffered' essentially means that the file will be loaded into RAM by parts.

  1. Sometimes a large file can be processed in parallel threads. This library will help with this. How parallel threads, each calling BufferedFileReader, can be started on a same file is shown in the example.
  2. In a single thread case, a large file cannot be loaded into RAM in one go for processing (e.g. string search has to be performed). Reading line-by-line is not an option as it (a) doesn't allow SIMD operations on several lines, (b) keeps the file open for a long time.

API overview


The library has two classes for buffered reading of text files:

BufferedLineReader

BufferedLineIterator

Two classes for buffered binary reading:

BufferedByteReader

BufferedDataIterator

An iterator is based on a corresponding reader.


MIT license | Copyright © 2023 ENGITEX

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Initial release.