Universal.Common 8.2.4

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

// Install Universal.Common as a Cake Tool
#tool nuget:?package=Universal.Common&version=8.2.4

Universal.Common

Support utilities and extensions meant to extend the default functionality from the base class library.

Quickstart

BitSequence

Utility for as-is bit manipulations.

BitSequence bs1 = new BitSequence("10001010"); // Binary representation in string.
BitSequence bs2 = new BitSequence(new bool[] { true, false, true }); // As booleans.
BitSequence bs3 = bs1 & "11110000"; // Bitwise and, implicit conversion from binary representation string.

BitStream

Utility to perform bit-level operations on System.IO.Stream.

using (BitStream bitStream = new BitStream(stream)) 
{
    uint value = bitStream.ReadUInt32(4); // Reads 4 bits from the stream and interprets it as an unsigned integer, padding if necessary.
}

UriBuilder

Derived from System.UriBuilder, this class provides a fluent API to configure segments and queries.

UriBuilder uriBuilder = new UriBuilder("http://www.myhost.com");
uriBuilder
    .AddSegments("api", "Product", 1)
    .AddQuery("key", "value");
// "https://www.myhost.com/api/Product/1?key=value"

ZigZag

Static class that encodes arrays to matrices and vice-versa.

int[,] matrix = new int[,] { { 0, 1 }, { 2, 3 } };
int[] array = ZigZag.ToArray(matrix); // [0, 1, 2, 3]
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible. 
.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.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (33)

Showing the top 5 NuGet packages that depend on Universal.Common:

Package Downloads
Universal.Common.Reflection

Class library for performing advanced operations with types, dynamic objects, expressions, and reflection.

Universal.Common.Net.Http

Class library to build clients and work with HTTP web services.

Universal.Common.Serialization

Class library with base objects that provide serializable to and from XML and JSON strings and binary serialization using the native binary formatter.

Universal.Android

Class library for accelerating Xamarin.Android development. Note: If you encounter layout inflation exceptions (could be masked as NotFoundException, or some issue with text_color_secondary.xml etc), make sure you define colorControlNormal and use a style with that attribute defined.

Universal.Common.Mathematics

Class library implementing advanced mathematical algorithms, transforms, and time series manipulations. Implementations favour simplicity and correctness.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.2.4 4,253 9/25/2023
8.2.3 355 6/8/2023
8.2.2 2,487 11/23/2022
8.2.1 346 11/22/2022
8.2.0 8,049 9/14/2022
8.1.2 13,787 10/24/2021
8.1.1 425 10/23/2021
8.1.0 435 10/23/2021
8.0.0 10,410 10/13/2021
7.7.1 6,526 8/24/2021
7.7.0 371 8/24/2021
7.6.2 412 8/19/2021
7.6.1 12,755 6/17/2021
7.6.0 1,587 6/3/2021
7.5.7 2,289 4/30/2021
7.5.6 413 4/29/2021
7.5.5 659 4/13/2021
7.5.4 3,880 3/31/2021
7.5.3 5,227 3/21/2021
7.5.2 1,222 3/15/2021
7.5.1 840 2/16/2021
7.5.0 20,815 2/5/2021
7.4.6 454 2/2/2021
7.4.5.1 1,881 1/15/2021
7.4.5 1,068 1/13/2021
7.4.4 1,544 1/7/2021
7.4.3 1,879 12/16/2020
7.4.2.1 524 12/15/2020
7.4.2 498 12/9/2020
7.4.1 5,221 11/26/2020
7.4.0 490 11/26/2020
7.3.5 2,597 11/23/2020
7.3.4 1,690 11/11/2020
7.3.3 519 11/11/2020
7.3.2 1,278 11/1/2020
7.3.1.1 4,437 10/19/2020
7.3.1 506 10/15/2020
7.3.0 501 10/15/2020
7.2.2 3,327 9/29/2020
7.2.1 640 9/29/2020
7.2.0 506 9/29/2020
7.1.1.1 574 9/28/2020
7.1.1 607 9/25/2020
7.1.0 1,679 9/2/2020
7.0.0 5,904 8/24/2020
6.4.7 591 8/21/2020
6.4.6 576 8/21/2020
6.4.5 19,429 5/21/2020
6.4.4 1,837 5/12/2020
6.4.3 2,014 4/23/2020
6.4.2 531 4/20/2020
6.4.1.2 16,572 3/20/2020
6.4.1.1 592 3/20/2020
6.4.1 585 3/20/2020
6.4.0 5,588 2/25/2020
6.3.5 1,184 2/21/2020
6.3.4 630 2/21/2020
6.3.3 3,594 2/11/2020
6.3.2 648 2/11/2020
6.3.1.1 6,920 1/23/2020
6.3.0 4,027 12/18/2019
6.2.7 1,890 12/17/2019
6.2.6 1,222 12/4/2019
6.2.5 783 12/4/2019
6.2.4 3,243 12/1/2019
6.2.3 9,834 10/25/2019
6.2.2 3,271 10/8/2019
6.2.1 991 10/7/2019
6.2.0.1 5,234 9/25/2019
6.2.0 1,675 9/20/2019
6.1.5 3,014 9/16/2019
6.1.4.1 1,608 9/9/2019
6.1.4 2,043 9/3/2019
6.1.3 610 9/2/2019
6.1.2 771 8/28/2019
6.1.1 7,163 7/9/2019
6.1.0.1 26,033 7/5/2019
6.1.0 16,026 5/7/2019
6.0.6 1,763 5/3/2019
6.0.5 1,297 5/2/2019
6.0.4 4,515 4/24/2019
6.0.3 939 4/24/2019
6.0.2 7,484 3/22/2019
6.0.1.2 2,301 3/12/2019
6.0.1.1 815 3/12/2019
6.0.1 814 3/11/2019
6.0.0 1,532 3/6/2019
5.3.6 757 3/5/2019
5.3.5 729 3/5/2019
5.3.4 1,770 3/4/2019
5.3.3 1,397 2/28/2019
5.3.2 1,212 2/27/2019
5.3.1.1 846 2/25/2019
5.3.1 738 2/25/2019
5.3.0 704 2/25/2019
5.2.1 3,209 2/16/2019
5.2.0.1 3,671 2/7/2019
5.1.8 775 2/7/2019
5.1.7.1 1,003 1/30/2019
5.1.7 782 1/30/2019
5.1.6.1 799 1/24/2019
5.1.6 768 1/23/2019
5.1.5 770 1/23/2019
5.1.4.2 825 1/18/2019
5.1.3 1,479 1/14/2019
5.1.2 7,437 1/8/2019
5.1.1.1 802 1/8/2019
5.1.1 787 1/6/2019
5.1.0 1,333 1/2/2019
5.0.2 816 12/31/2018
5.0.1.1 803 12/31/2018
5.0.1 788 12/31/2018
5.0.0.1 931 12/14/2018
5.0.0 2,009 12/10/2018
4.2.5 862 11/23/2018
4.2.4 871 11/23/2018
4.2.3.1 836 11/22/2018
4.2.3 818 11/22/2018
4.2.2.2 1,073 11/19/2018
4.2.2.1 7,624 10/2/2018
4.2.2 904 10/1/2018
4.2.1.2 923 10/1/2018
4.2.1.1 898 9/27/2018
4.2.1 840 9/26/2018
4.2.0.5 894 9/26/2018
4.2.0.4 879 9/25/2018
4.2.0.3 904 9/25/2018
4.2.0.2 926 9/25/2018
4.2.0.1 887 9/25/2018
4.2.0 1,004 9/24/2018
4.1.0 855 9/21/2018
4.0.0.6 899 9/18/2018
4.0.0.5 930 9/18/2018
4.0.0.4 909 9/17/2018
4.0.0.3 3,128 9/7/2018
4.0.0.2 1,178 9/4/2018
4.0.0.1 1,259 9/4/2018
4.0.0 3,959 8/30/2018
3.2.0 2,737 8/28/2018
3.1.0 899 8/28/2018
3.0.6 2,454 8/27/2018
3.0.5 892 8/27/2018
3.0.4 919 8/27/2018
3.0.3 925 8/24/2018
3.0.2 1,103 8/24/2018
3.0.1.2 903 8/23/2018
3.0.1.1 944 8/21/2018
3.0.1 916 8/21/2018
3.0.0 1,807 8/16/2018
2.2.1 994 8/15/2018
2.2.0 941 8/14/2018
2.1.0 931 8/13/2018
2.0.2 974 8/7/2018
2.0.1 1,224 5/10/2018
2.0.0 1,784 4/26/2018
1.5.3.7 2,916 1/27/2018
1.5.3.6 1,110 1/15/2018
1.5.3.5 1,075 1/8/2018
1.5.3.4 1,075 1/3/2018
1.5.3.3 1,106 1/3/2018
1.5.3.2 1,088 12/27/2017
1.5.3.1 1,121 12/25/2017
1.5.3 1,051 12/25/2017
1.5.2 1,073 12/24/2017
1.5.1 1,094 12/23/2017
1.5.0 1,044 12/22/2017
1.4.7 944 12/2/2017
1.4.6 2,512 11/28/2017
1.4.5 1,136 11/28/2017
1.4.0 1,196 11/12/2017
1.3.5 3,779 11/8/2017
1.3.4 1,210 11/8/2017
1.3.3 1,277 11/2/2017
1.3.2 1,195 11/2/2017
1.3.1 1,236 9/12/2017
1.3.0 1,146 8/26/2017
1.2.1 1,029 8/23/2017
1.2.0 1,096 8/17/2017
1.1.1 1,023 8/17/2017
1.1.0 1,028 8/17/2017
1.0.0 1,811 8/12/2017

Introduced the text/markdown MediaType.