Universal.Common
8.2.4.1
dotnet add package Universal.Common --version 8.2.4.1
NuGet\Install-Package Universal.Common -Version 8.2.4.1
<PackageReference Include="Universal.Common" Version="8.2.4.1" />
paket add Universal.Common --version 8.2.4.1
#r "nuget: Universal.Common, 8.2.4.1"
// Install Universal.Common as a Cake Addin #addin nuget:?package=Universal.Common&version=8.2.4.1 // Install Universal.Common as a Cake Tool #tool nuget:?package=Universal.Common&version=8.2.4.1
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 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. |
-
.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.1 | 101 | 7/15/2024 |
8.2.4 | 7,968 | 9/25/2023 |
8.2.3 | 375 | 6/8/2023 |
8.2.2 | 2,501 | 11/23/2022 |
8.2.1 | 351 | 11/22/2022 |
8.2.0 | 8,786 | 9/14/2022 |
8.1.2 | 17,232 | 10/24/2021 |
8.1.1 | 435 | 10/23/2021 |
8.1.0 | 439 | 10/23/2021 |
8.0.0 | 11,259 | 10/13/2021 |
7.7.1 | 6,803 | 8/24/2021 |
7.7.0 | 376 | 8/24/2021 |
7.6.2 | 419 | 8/19/2021 |
7.6.1 | 12,830 | 6/17/2021 |
7.6.0 | 1,807 | 6/3/2021 |
7.5.7 | 2,321 | 4/30/2021 |
7.5.6 | 418 | 4/29/2021 |
7.5.5 | 665 | 4/13/2021 |
7.5.4 | 4,095 | 3/31/2021 |
7.5.3 | 5,460 | 3/21/2021 |
7.5.2 | 1,228 | 3/15/2021 |
7.5.1 | 842 | 2/16/2021 |
7.5.0 | 22,461 | 2/5/2021 |
7.4.6 | 458 | 2/2/2021 |
7.4.5.1 | 1,886 | 1/15/2021 |
7.4.5 | 1,080 | 1/13/2021 |
7.4.4 | 1,548 | 1/7/2021 |
7.4.3 | 1,883 | 12/16/2020 |
7.4.2.1 | 536 | 12/15/2020 |
7.4.2 | 504 | 12/9/2020 |
7.4.1 | 5,233 | 11/26/2020 |
7.4.0 | 495 | 11/26/2020 |
7.3.5 | 2,607 | 11/23/2020 |
7.3.4 | 1,694 | 11/11/2020 |
7.3.3 | 529 | 11/11/2020 |
7.3.2 | 1,291 | 11/1/2020 |
7.3.1.1 | 4,451 | 10/19/2020 |
7.3.1 | 510 | 10/15/2020 |
7.3.0 | 511 | 10/15/2020 |
7.2.2 | 3,332 | 9/29/2020 |
7.2.1 | 647 | 9/29/2020 |
7.2.0 | 516 | 9/29/2020 |
7.1.1.1 | 579 | 9/28/2020 |
7.1.1 | 619 | 9/25/2020 |
7.1.0 | 1,684 | 9/2/2020 |
7.0.0 | 5,907 | 8/24/2020 |
6.4.7 | 596 | 8/21/2020 |
6.4.6 | 579 | 8/21/2020 |
6.4.5 | 19,502 | 5/21/2020 |
6.4.4 | 1,839 | 5/12/2020 |
6.4.3 | 2,016 | 4/23/2020 |
6.4.2 | 538 | 4/20/2020 |
6.4.1.2 | 16,861 | 3/20/2020 |
6.4.1.1 | 596 | 3/20/2020 |
6.4.1 | 588 | 3/20/2020 |
6.4.0 | 5,597 | 2/25/2020 |
6.3.5 | 1,186 | 2/21/2020 |
6.3.4 | 632 | 2/21/2020 |
6.3.3 | 3,596 | 2/11/2020 |
6.3.2 | 650 | 2/11/2020 |
6.3.1.1 | 6,922 | 1/23/2020 |
6.3.0 | 4,031 | 12/18/2019 |
6.2.7 | 2,004 | 12/17/2019 |
6.2.6 | 1,231 | 12/4/2019 |
6.2.5 | 786 | 12/4/2019 |
6.2.4 | 3,246 | 12/1/2019 |
6.2.3 | 9,849 | 10/25/2019 |
6.2.2 | 3,274 | 10/8/2019 |
6.2.1 | 994 | 10/7/2019 |
6.2.0.1 | 5,237 | 9/25/2019 |
6.2.0 | 1,678 | 9/20/2019 |
6.1.5 | 3,023 | 9/16/2019 |
6.1.4.1 | 1,611 | 9/9/2019 |
6.1.4 | 2,046 | 9/3/2019 |
6.1.3 | 613 | 9/2/2019 |
6.1.2 | 774 | 8/28/2019 |
6.1.1 | 7,167 | 7/9/2019 |
6.1.0.1 | 26,965 | 7/5/2019 |
6.1.0 | 16,038 | 5/7/2019 |
6.0.6 | 1,766 | 5/3/2019 |
6.0.5 | 1,300 | 5/2/2019 |
6.0.4 | 4,518 | 4/24/2019 |
6.0.3 | 942 | 4/24/2019 |
6.0.2 | 7,488 | 3/22/2019 |
6.0.1.2 | 2,304 | 3/12/2019 |
6.0.1.1 | 818 | 3/12/2019 |
6.0.1 | 824 | 3/11/2019 |
6.0.0 | 1,535 | 3/6/2019 |
5.3.6 | 765 | 3/5/2019 |
5.3.5 | 732 | 3/5/2019 |
5.3.4 | 1,779 | 3/4/2019 |
5.3.3 | 1,406 | 2/28/2019 |
5.3.2 | 1,215 | 2/27/2019 |
5.3.1.1 | 849 | 2/25/2019 |
5.3.1 | 747 | 2/25/2019 |
5.3.0 | 707 | 2/25/2019 |
5.2.1 | 3,221 | 2/16/2019 |
5.2.0.1 | 3,674 | 2/7/2019 |
5.1.8 | 784 | 2/7/2019 |
5.1.7.1 | 1,006 | 1/30/2019 |
5.1.7 | 785 | 1/30/2019 |
5.1.6.1 | 802 | 1/24/2019 |
5.1.6 | 774 | 1/23/2019 |
5.1.5 | 773 | 1/23/2019 |
5.1.4.2 | 828 | 1/18/2019 |
5.1.3 | 1,482 | 1/14/2019 |
5.1.2 | 7,455 | 1/8/2019 |
5.1.1.1 | 805 | 1/8/2019 |
5.1.1 | 790 | 1/6/2019 |
5.1.0 | 1,342 | 1/2/2019 |
5.0.2 | 819 | 12/31/2018 |
5.0.1.1 | 806 | 12/31/2018 |
5.0.1 | 797 | 12/31/2018 |
5.0.0.1 | 934 | 12/14/2018 |
5.0.0 | 2,011 | 12/10/2018 |
4.2.5 | 873 | 11/23/2018 |
4.2.4 | 876 | 11/23/2018 |
4.2.3.1 | 847 | 11/22/2018 |
4.2.3 | 823 | 11/22/2018 |
4.2.2.2 | 1,078 | 11/19/2018 |
4.2.2.1 | 7,641 | 10/2/2018 |
4.2.2 | 909 | 10/1/2018 |
4.2.1.2 | 928 | 10/1/2018 |
4.2.1.1 | 903 | 9/27/2018 |
4.2.1 | 845 | 9/26/2018 |
4.2.0.5 | 905 | 9/26/2018 |
4.2.0.4 | 884 | 9/25/2018 |
4.2.0.3 | 909 | 9/25/2018 |
4.2.0.2 | 937 | 9/25/2018 |
4.2.0.1 | 892 | 9/25/2018 |
4.2.0 | 1,015 | 9/24/2018 |
4.1.0 | 860 | 9/21/2018 |
4.0.0.6 | 904 | 9/18/2018 |
4.0.0.5 | 935 | 9/18/2018 |
4.0.0.4 | 914 | 9/17/2018 |
4.0.0.3 | 3,132 | 9/7/2018 |
4.0.0.2 | 1,184 | 9/4/2018 |
4.0.0.1 | 1,271 | 9/4/2018 |
4.0.0 | 3,963 | 8/30/2018 |
3.2.0 | 2,741 | 8/28/2018 |
3.1.0 | 903 | 8/28/2018 |
3.0.6 | 2,458 | 8/27/2018 |
3.0.5 | 897 | 8/27/2018 |
3.0.4 | 923 | 8/27/2018 |
3.0.3 | 934 | 8/24/2018 |
3.0.2 | 1,107 | 8/24/2018 |
3.0.1.2 | 909 | 8/23/2018 |
3.0.1.1 | 958 | 8/21/2018 |
3.0.1 | 922 | 8/21/2018 |
3.0.0 | 1,811 | 8/16/2018 |
2.2.1 | 999 | 8/15/2018 |
2.2.0 | 952 | 8/14/2018 |
2.1.0 | 941 | 8/13/2018 |
2.0.2 | 975 | 8/7/2018 |
2.0.1 | 1,227 | 5/10/2018 |
2.0.0 | 1,792 | 4/26/2018 |
1.5.3.7 | 2,923 | 1/27/2018 |
1.5.3.6 | 1,111 | 1/15/2018 |
1.5.3.5 | 1,076 | 1/8/2018 |
1.5.3.4 | 1,083 | 1/3/2018 |
1.5.3.3 | 1,107 | 1/3/2018 |
1.5.3.2 | 1,089 | 12/27/2017 |
1.5.3.1 | 1,125 | 12/25/2017 |
1.5.3 | 1,052 | 12/25/2017 |
1.5.2 | 1,075 | 12/24/2017 |
1.5.1 | 1,097 | 12/23/2017 |
1.5.0 | 1,051 | 12/22/2017 |
1.4.7 | 945 | 12/2/2017 |
1.4.6 | 2,513 | 11/28/2017 |
1.4.5 | 1,137 | 11/28/2017 |
1.4.0 | 1,203 | 11/12/2017 |
1.3.5 | 3,786 | 11/8/2017 |
1.3.4 | 1,212 | 11/8/2017 |
1.3.3 | 1,278 | 11/2/2017 |
1.3.2 | 1,197 | 11/2/2017 |
1.3.1 | 1,238 | 9/12/2017 |
1.3.0 | 1,149 | 8/26/2017 |
1.2.1 | 1,030 | 8/23/2017 |
1.2.0 | 1,103 | 8/17/2017 |
1.1.1 | 1,025 | 8/17/2017 |
1.1.0 | 1,029 | 8/17/2017 |
1.0.0 | 1,815 | 8/12/2017 |
Fixed mapping for .js files to map to text/javascript.