Top 20 NuGet bytes Packages
SlidingWindow provides an interface to retrieve chunks from a byte array using a sliding window.
FileTypeChecker is a easy to use library that provides quality identification of a file type. This will help you to secure your applications and validate all files that are provided by external sources with few lines of code.
ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented. ByteSize is to bytes what System.TimeSpan is to time.
SpanReader and SpanWriter which wraps a Span<byte> and provide a convenient functionality for reading and writing.
Gulliver is a C# utility package and library engineered for the manipulation of arbitrary sized byte arrays accounting for appropriate endianness and jagged byte length. Functionality includes the as previously unsupported standard set of boolean algebraic operations, bitwise shifting, and unsigned ...
A simple library for easily handling bytes and bits
File type checker that checks the file's magic numbers/identifying bytes. Useful for verifying uploaded files in web applications.
NuGet package of code originally written by https://github.com/mjolka and extended to allow for dependency injecting the known file types.
Byte count/formatted file size parser and formatter
Conceptually immutable byte string type
Don't let users to inject you an invalid file! FileTypeChecker is a easy to use library that allows you to read file and recognize its type. This will help you to validate all files that is provided by external sources.
Bytes binding library for Bridge.NET projects.
Pretty Bytes (pretty-bytes) binding library for Bridge.NET projects.
Extension methods to read/write different datatypes to Span<byte> (tested, benchmarked, optimized). Plus SpanStream and MemoryStreamer for stream-like behavior on Span<byte> and Memory<byte>. See documentation on GitHub for examples.
PCL wrapper for the Stream class that allows bit-level reads and writes, for all your sub-byte encoding needs.
Just new up a BitStream instance with the underlaying stream passed to it and off you go.
An alternative to the .NET BinaryReader and BinaryWriter objects that allows you to read and write individual bits of data.
Image.Resize(extension)
High quality resizing of the image in just one line of code.
Image.ToBytes(extension)
Convert image/bitmap to byte array.
Image.SaveAs(extension)
Save Image/Bitmap as file. Supported formats are:
BMP, GIF, JPG, PNG and TIF.
More GDI+ extensions will come in next release.
(...
IoC friendly C# .netstandard2.0 service interface for asymmetric cryptographic operations.
A library for mapping binary data onto .NET primitive types. Mapping to objects of custom classes also supported.
The framework BitArray is helpful but it has a serious flaw in the fact that it is not immutable. This is the primary motivation for working on this package in order to achieve just such an ImmutableBitArray. Reflexive operations can modify an instance but otherwise bitwise operations should yield a...