buffer 2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package buffer --version 2.0.1
                    
NuGet\Install-Package buffer -Version 2.0.1
                    
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="buffer" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="buffer" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="buffer" />
                    
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 buffer --version 2.0.1
                    
#r "nuget: buffer, 2.0.1"
                    
#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=buffer&version=2.0.1
                    
Install buffer as a Cake Addin
#tool nuget:?package=buffer&version=2.0.1
                    
Install buffer as a Cake Tool

Better Input for C#

Have you ever wondered if you could get the values of what users are typing in real time with Console.ReadLine() function? or do you want full control of input?

Well don't worry! This buffer nuget package aims to solve the issues of ReadLine() and gives more control to the user!

Usage

Process
1. Initialize the object
2. Get the input from the user (does **not** return the value)
3. Read the buffer to get the values by using two methods
    1. Get the buffer as char[] itself.
    2. Get the buffer as a string.
4. Clear the buffer (you have to do it **manually** by invoking a method)
Example Syntax
PradBuffer InputBuffer = new PradBuffer();

InputBuffer.GetInput();

string value = InputBuffer.GetBufferAsString();

InputBuffer.ClearBuffer();

Input process

The input function is overloaded so there are two different ways to use it.

Method 1

code.cs

InputBuffer.GetInput();

output:

<waits here for input>
Method 2

code.cs

InputBuffer.GetInput("command > ");

output:

command > <waits here for input>
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

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
3.3.1 156 4/14/2025
3.3.0 151 4/14/2025
3.2.0 157 4/14/2025
3.1.0 153 4/14/2025
3.0.0 151 4/13/2025
2.1.3 97 4/13/2025
2.1.2 92 4/13/2025
2.1.1 132 4/9/2025
2.1.0 129 4/9/2025
2.0.1 126 4/8/2025
2.0.0 123 4/8/2025
1.2.0 127 4/7/2025
1.1.3 132 4/6/2025
1.1.2 129 4/6/2025
1.1.1 97 4/6/2025
1.1.0 98 4/6/2025
1.0.0 120 4/1/2025