BufferUtil.Lib 1.0.7

dotnet add package BufferUtil.Lib --version 1.0.7                
NuGet\Install-Package BufferUtil.Lib -Version 1.0.7                
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="BufferUtil.Lib" Version="1.0.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BufferUtil.Lib --version 1.0.7                
#r "nuget: BufferUtil.Lib, 1.0.7"                
#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.
// Install BufferUtil.Lib as a Cake Addin
#addin nuget:?package=BufferUtil.Lib&version=1.0.7

// Install BufferUtil.Lib as a Cake Tool
#tool nuget:?package=BufferUtil.Lib&version=1.0.7                

BufferUtil

Library to manipulate bytes, byte buffers and generate text representation of files

Logo

000000000 ┊ EF BB BF 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D ┊ ...ABCDEFGHIJKLM ┊ 
000000001 ┊ 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 0D 0A 41 ┊ NOPQRSTUVWXYZ..A ┊ 
000000002 ┊ 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 ┊ BCDEFGHIJKLMNOPQ ┊ 
000000003 ┊ 52 53 54 55 56 57 58 59 5A 0D 0A 41 42 43 44 45 ┊ RSTUVWXYZ..ABCDE ┊ 
000000004 ┊ 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 ┊ FGHIJKLMNOPQRSTU ┊ 
000000005 ┊ 56 57 58 59 5A 0D 0A                            ┊ VWXYZ..          ┊ 

With bits/binary mode

000000000 ┊ EF:11101111 BB:10111011 BF:10111111 41:01000001 42:01000010 43:01000011 44:01000100 45:01000101 46:01000110 47:01000111 48:01001000 49:01001001 4A:01001010 4B:01001011 4C:01001100 4D:01001101 ┊ ...ABCDEFGHIJKLM ┊ 
000000001 ┊ 4E:01001110 4F:01001111 50:01010000 51:01010001 52:01010010 53:01010011 54:01010100 55:01010101 56:01010110 57:01010111 58:01011000 59:01011001 5A:01011010 0D:00001101 0A:00001010 41:01000001 ┊ NOPQRSTUVWXYZ..A ┊ 
000000002 ┊ 42:01000010 43:01000011 44:01000100 45:01000101 46:01000110 47:01000111 48:01001000 49:01001001 4A:01001010 4B:01001011 4C:01001100 4D:01001101 4E:01001110 4F:01001111 50:01010000 51:01010001 ┊ BCDEFGHIJKLMNOPQ ┊ 
000000003 ┊ 52:01010010 53:01010011 54:01010100 55:01010101 56:01010110 57:01010111 58:01011000 59:01011001 5A:01011010 0D:00001101 0A:00001010 41:01000001 42:01000010 43:01000011 44:01000100 45:01000101 ┊ RSTUVWXYZ..ABCDE ┊ 
000000004 ┊ 46:01000110 47:01000111 48:01001000 49:01001001 4A:01001010 4B:01001011 4C:01001100 4D:01001101 4E:01001110 4F:01001111 50:01010000 51:01010001 52:01010010 53:01010011 54:01010100 55:01010101 ┊ FGHIJKLMNOPQRSTU ┊ 
000000005 ┊ 56:01010110 57:01010111 58:01011000 59:01011001 5A:01011010 0D:00001101 0A:00001010 ┊ VWXYZ.. ┊ 

Remarks

  • Just started in 2023/02

Methods

public static List<byte> MakeBuffer(int len, byte val = 0);
public static List<byte> PadBuffer(List<byte> buffer, int len, byte paddingValue = 0);
public static void WriteBuffer(BinaryWriter writer, List<byte> buffer);
public static void WriteString(BinaryWriter writer, string s, int len);
public static List<byte> GenerateSectorBuffer(List<byte> buffer);

Samples

  var bg = new BinaryToTextGenerator(inputTextFile);
  var defaultOptions = new BinaryViewerOption { ShowBinary = true };
  var result = bg.Generate(defaultOptions);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.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
1.0.7 129 3/14/2024
1.0.6 118 3/14/2024
1.0.5 129 3/13/2024
1.0.4 200 4/9/2023
1.0.3 211 3/26/2023
1.0.2 224 3/1/2023
1.0.1 262 2/5/2023
1.0.0 257 2/4/2023