Universal.Common
8.1.2
See the version list below for details.
dotnet add package Universal.Common --version 8.1.2
NuGet\Install-Package Universal.Common -Version 8.1.2
<PackageReference Include="Universal.Common" Version="8.1.2" />
<PackageVersion Include="Universal.Common" Version="8.1.2" />
<PackageReference Include="Universal.Common" />
paket add Universal.Common --version 8.1.2
#r "nuget: Universal.Common, 8.1.2"
#:package Universal.Common@8.1.2
#addin nuget:?package=Universal.Common&version=8.1.2
#tool nuget:?package=Universal.Common&version=8.1.2
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 | Versions 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. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (29)
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.Common.Mathematics
Class library implementing advanced mathematical algorithms, transforms, and time series manipulations. Implementations favour simplicity and correctness. |
|
Universal.Common.Collections
Class library with specialized collections to model graphs, queues, multi-value dictionaries and such. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
8.3.4 | 356 | 8/14/2025 |
8.3.3 | 7,574 | 2/22/2025 |
8.3.2 | 227 | 2/22/2025 |
8.3.1 | 246 | 2/16/2025 |
8.3.0 | 138 | 2/15/2025 |
8.2.5 | 2,238 | 10/17/2024 |
8.2.4.1 | 1,939 | 7/15/2024 |
8.2.4 | 17,682 | 9/25/2023 |
8.2.3 | 1,853 | 6/8/2023 |
8.2.2 | 2,616 | 11/23/2022 |
8.2.1 | 460 | 11/22/2022 |
8.2.0 | 11,943 | 9/14/2022 |
8.1.2 | 24,396 | 10/24/2021 |
8.1.1 | 557 | 10/23/2021 |
8.1.0 | 561 | 10/23/2021 |
8.0.0 | 14,491 | 10/13/2021 |
7.7.1 | 7,458 | 8/24/2021 |
7.7.0 | 493 | 8/24/2021 |
7.6.2 | 543 | 8/19/2021 |
7.6.1 | 13,169 | 6/17/2021 |
7.6.0 | 2,384 | 6/3/2021 |
7.5.7 | 3,097 | 4/30/2021 |
7.5.6 | 540 | 4/29/2021 |
7.5.5 | 790 | 4/13/2021 |
7.5.4 | 10,613 | 3/31/2021 |
7.5.3 | 6,491 | 3/21/2021 |
7.5.2 | 1,394 | 3/15/2021 |
7.5.1 | 985 | 2/16/2021 |
7.5.0 | 34,918 | 2/5/2021 |
7.4.6 | 597 | 2/2/2021 |
7.4.5.1 | 2,121 | 1/15/2021 |
7.4.5 | 1,220 | 1/13/2021 |
7.4.4 | 1,787 | 1/7/2021 |
7.4.3 | 2,152 | 12/16/2020 |
7.4.2.1 | 675 | 12/15/2020 |
7.4.2 | 638 | 12/9/2020 |
7.4.1 | 5,570 | 11/26/2020 |
7.4.0 | 624 | 11/26/2020 |
7.3.5 | 2,925 | 11/23/2020 |
7.3.4 | 1,908 | 11/11/2020 |
7.3.3 | 659 | 11/11/2020 |
7.3.2 | 1,457 | 11/1/2020 |
7.3.1.1 | 4,816 | 10/19/2020 |
7.3.1 | 653 | 10/15/2020 |
7.3.0 | 644 | 10/15/2020 |
7.2.2 | 3,624 | 9/29/2020 |
7.2.1 | 780 | 9/29/2020 |
7.2.0 | 638 | 9/29/2020 |
7.1.1.1 | 712 | 9/28/2020 |
7.1.1 | 749 | 9/25/2020 |
7.1.0 | 1,880 | 9/2/2020 |
7.0.0 | 6,341 | 8/24/2020 |
6.4.7 | 732 | 8/21/2020 |
6.4.6 | 718 | 8/21/2020 |
6.4.5 | 20,458 | 5/21/2020 |
6.4.4 | 2,001 | 5/12/2020 |
6.4.3 | 2,189 | 4/23/2020 |
6.4.2 | 683 | 4/20/2020 |
6.4.1.2 | 18,987 | 3/20/2020 |
6.4.1.1 | 750 | 3/20/2020 |
6.4.1 | 730 | 3/20/2020 |
6.4.0 | 6,035 | 2/25/2020 |
6.3.5 | 1,357 | 2/21/2020 |
6.3.4 | 793 | 2/21/2020 |
6.3.3 | 3,805 | 2/11/2020 |
6.3.2 | 794 | 2/11/2020 |
6.3.1.1 | 7,342 | 1/23/2020 |
6.3.0 | 4,377 | 12/18/2019 |
6.2.7 | 2,321 | 12/17/2019 |
6.2.6 | 1,462 | 12/4/2019 |
6.2.5 | 931 | 12/4/2019 |
6.2.4 | 3,568 | 12/1/2019 |
6.2.3 | 10,564 | 10/25/2019 |
6.2.2 | 3,629 | 10/8/2019 |
6.2.1 | 1,175 | 10/7/2019 |
6.2.0.1 | 5,508 | 9/25/2019 |
6.2.0 | 1,885 | 9/20/2019 |
6.1.5 | 3,274 | 9/16/2019 |
6.1.4.1 | 1,790 | 9/9/2019 |
6.1.4 | 2,247 | 9/3/2019 |
6.1.3 | 748 | 9/2/2019 |
6.1.2 | 950 | 8/28/2019 |
6.1.1 | 7,741 | 7/9/2019 |
6.1.0.1 | 30,669 | 7/5/2019 |
6.1.0 | 17,110 | 5/7/2019 |
6.0.6 | 1,943 | 5/3/2019 |
6.0.5 | 1,457 | 5/2/2019 |
6.0.4 | 4,879 | 4/24/2019 |
6.0.3 | 1,128 | 4/24/2019 |
6.0.2 | 8,007 | 3/22/2019 |
6.0.1.2 | 2,507 | 3/12/2019 |
6.0.1.1 | 976 | 3/12/2019 |
6.0.1 | 993 | 3/11/2019 |
6.0.0 | 1,769 | 3/6/2019 |
5.3.6 | 918 | 3/5/2019 |
5.3.5 | 886 | 3/5/2019 |
5.3.4 | 1,970 | 3/4/2019 |
5.3.3 | 1,604 | 2/28/2019 |
5.3.2 | 1,416 | 2/27/2019 |
5.3.1.1 | 1,009 | 2/25/2019 |
5.3.1 | 896 | 2/25/2019 |
5.3.0 | 855 | 2/25/2019 |
5.2.1 | 3,481 | 2/16/2019 |
5.2.0.1 | 3,965 | 2/7/2019 |
5.1.8 | 936 | 2/7/2019 |
5.1.7.1 | 1,161 | 1/30/2019 |
5.1.7 | 949 | 1/30/2019 |
5.1.6.1 | 959 | 1/24/2019 |
5.1.6 | 915 | 1/23/2019 |
5.1.5 | 924 | 1/23/2019 |
5.1.4.2 | 974 | 1/18/2019 |
5.1.3 | 1,712 | 1/14/2019 |
5.1.2 | 7,768 | 1/8/2019 |
5.1.1.1 | 957 | 1/8/2019 |
5.1.1 | 949 | 1/6/2019 |
5.1.0 | 1,585 | 1/2/2019 |
5.0.2 | 979 | 12/31/2018 |
5.0.1.1 | 956 | 12/31/2018 |
5.0.1 | 944 | 12/31/2018 |
5.0.0.1 | 1,087 | 12/14/2018 |
5.0.0 | 2,249 | 12/10/2018 |
4.2.5 | 1,022 | 11/23/2018 |
4.2.4 | 1,034 | 11/23/2018 |
4.2.3.1 | 1,010 | 11/22/2018 |
4.2.3 | 993 | 11/22/2018 |
4.2.2.2 | 1,271 | 11/19/2018 |
4.2.2.1 | 8,416 | 10/2/2018 |
4.2.2 | 1,093 | 10/1/2018 |
4.2.1.2 | 1,104 | 10/1/2018 |
4.2.1.1 | 1,081 | 9/27/2018 |
4.2.1 | 1,022 | 9/26/2018 |
4.2.0.5 | 1,078 | 9/26/2018 |
4.2.0.4 | 1,060 | 9/25/2018 |
4.2.0.3 | 1,094 | 9/25/2018 |
4.2.0.2 | 1,111 | 9/25/2018 |
4.2.0.1 | 1,070 | 9/25/2018 |
4.2.0 | 1,197 | 9/24/2018 |
4.1.0 | 1,045 | 9/21/2018 |
4.0.0.6 | 1,080 | 9/18/2018 |
4.0.0.5 | 1,116 | 9/18/2018 |
4.0.0.4 | 1,087 | 9/17/2018 |
4.0.0.3 | 3,438 | 9/7/2018 |
4.0.0.2 | 1,370 | 9/4/2018 |
4.0.0.1 | 1,488 | 9/4/2018 |
4.0.0 | 4,285 | 8/30/2018 |
3.2.0 | 2,973 | 8/28/2018 |
3.1.0 | 1,084 | 8/28/2018 |
3.0.6 | 2,689 | 8/27/2018 |
3.0.5 | 1,066 | 8/27/2018 |
3.0.4 | 1,109 | 8/27/2018 |
3.0.3 | 1,102 | 8/24/2018 |
3.0.2 | 1,308 | 8/24/2018 |
3.0.1.2 | 1,088 | 8/23/2018 |
3.0.1.1 | 1,146 | 8/21/2018 |
3.0.1 | 1,101 | 8/21/2018 |
3.0.0 | 2,044 | 8/16/2018 |
2.2.1 | 1,183 | 8/15/2018 |
2.2.0 | 1,140 | 8/14/2018 |
2.1.0 | 1,132 | 8/13/2018 |
2.0.2 | 1,247 | 8/7/2018 |
2.0.1 | 1,618 | 5/10/2018 |
2.0.0 | 2,208 | 4/26/2018 |
1.5.3.7 | 3,529 | 1/27/2018 |
1.5.3.6 | 1,499 | 1/15/2018 |
1.5.3.5 | 1,475 | 1/8/2018 |
1.5.3.4 | 1,476 | 1/3/2018 |
1.5.3.3 | 1,502 | 1/3/2018 |
1.5.3.2 | 1,483 | 12/27/2017 |
1.5.3.1 | 1,510 | 12/25/2017 |
1.5.3 | 1,448 | 12/25/2017 |
1.5.2 | 1,467 | 12/24/2017 |
1.5.1 | 1,494 | 12/23/2017 |
1.5.0 | 1,438 | 12/22/2017 |
1.4.7 | 1,218 | 12/2/2017 |
1.4.6 | 2,850 | 11/28/2017 |
1.4.5 | 1,406 | 11/28/2017 |
1.4.0 | 1,471 | 11/12/2017 |
1.3.5 | 4,145 | 11/8/2017 |
1.3.4 | 1,481 | 11/8/2017 |
1.3.3 | 1,543 | 11/2/2017 |
1.3.2 | 1,477 | 11/2/2017 |
1.3.1 | 1,510 | 9/12/2017 |
1.3.0 | 1,424 | 8/26/2017 |
1.2.1 | 1,306 | 8/23/2017 |
1.2.0 | 1,381 | 8/17/2017 |
1.1.1 | 1,307 | 8/17/2017 |
1.1.0 | 1,308 | 8/17/2017 |
1.0.0 | 2,126 | 8/12/2017 |
Fixed implementation of BitSequence's GetHashCode to return equal hash codes for equal sequences.