Smdn.Fundamental.Shim 3.1.4

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

// Install Smdn.Fundamental.Shim as a Cake Tool
#tool nuget:?package=Smdn.Fundamental.Shim&version=3.1.4                

Smdn.Fundamental.Shim-3.1.4

Smdn.Fundamental.Shim.dll

API List

List of APIs exposed by assembly Smdn.Fundamental.Shim-3.1.4 (net6.0)

// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.4)
//   Name: Smdn.Fundamental.Shim
//   AssemblyVersion: 3.1.4.0
//   InformationalVersion: 3.1.4+15b034334ad4afd2fc38af58a959873edc117055
//   TargetFramework: .NETCoreApp,Version=v6.0
//   Configuration: Release
//   Referenced assemblies:
//     Smdn.Fundamental.Exception, Version=3.0.3.0, Culture=neutral
//     System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;

namespace Smdn {
  public static class ArrayShim {
    public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Converter<TInput, TOutput> converter) {}
    public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Func<TInput, TOutput> converter) {}
    public static T[] Empty<T>() {}
  }

  public static class BitOperationsShim {
    public static bool IsPow2(int @value) {}
    public static bool IsPow2(long @value) {}
    public static bool IsPow2(uint @value) {}
    public static bool IsPow2(ulong @value) {}
    public static int LeadingZeroCount(uint @value) {}
    public static int LeadingZeroCount(ulong @value) {}
    public static int Log2(uint @value) {}
    public static int Log2(ulong @value) {}
    public static int PopCount(uint @value) {}
    public static int PopCount(ulong @value) {}
    public static int TrailingZeroCount(uint @value) {}
    public static int TrailingZeroCount(ulong @value) {}
  }

  public static class MathShim {
    public static byte Clamp(byte @value, byte min, byte max) {}
    public static decimal Clamp(decimal @value, decimal min, decimal max) {}
    public static double Clamp(double @value, double min, double max) {}
    public static float Clamp(float @value, float min, float max) {}
    public static int Clamp(int @value, int min, int max) {}
    public static long Clamp(long @value, long min, long max) {}
    public static sbyte Clamp(sbyte @value, sbyte min, sbyte max) {}
    public static short Clamp(short @value, short min, short max) {}
    public static uint Clamp(uint @value, uint min, uint max) {}
    public static ulong Clamp(ulong @value, ulong min, ulong max) {}
    public static ushort Clamp(ushort @value, ushort min, ushort max) {}
    public static (byte Quotient, byte Remainder) DivRem(byte left, byte right) {}
    public static (int Quotient, int Remainder) DivRem(int left, int right) {}
    public static (long Quotient, long Remainder) DivRem(long left, long right) {}
    public static (sbyte Quotient, sbyte Remainder) DivRem(sbyte left, sbyte right) {}
    public static (short Quotient, short Remainder) DivRem(short left, short right) {}
    public static (uint Quotient, uint Remainder) DivRem(uint left, uint right) {}
    public static (ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right) {}
    public static (ushort Quotient, ushort Remainder) DivRem(ushort left, ushort right) {}
    public static int DivRem(int a, int b, out int result) {}
    public static long DivRem(long a, long b, out long result) {}
  }

  public static class StringShim {
    public static string Construct(ReadOnlySpan<char> s) {}
    public static bool EndsWith(this string str, char @value) {}
    public static bool StartsWith(this string str, char @value) {}
  }
}

namespace Smdn.IO {
  public static class BinaryReaderExtensions {
    public static void Close(this BinaryReader reader) {}
  }

  public static class BinaryWriterExtensions {
    public static void Close(this BinaryWriter writer) {}
  }

  public static class TextReaderShim {
    public static void Close(this TextReader reader) {}
  }

  public static class TextWriterExtensions {
    public static void Close(this TextWriter writer) {}
  }
}

namespace Smdn.Threading {
  public static class ValueTaskShim {
    public static ValueTask CompletedTask { get; }

    public static ValueTask FromCanceled(CancellationToken cancellationToken) {}
    public static ValueTask<TResult> FromCanceled<TResult>(CancellationToken cancellationToken) {}
    public static ValueTask<TResult> FromResult<TResult>(TResult result) {}
  }
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.2.0.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 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.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Smdn.Fundamental.Shim:

Package Downloads
Smdn.Fundamental.Uuid

Smdn.Fundamental.Uuid.dll

Smdn.Fundamental.UInt24n

Provides 24-bit and 48-bit unsigned integer types, `UInt24` and `UInt48`. These types are compatible with the generic math functionality since they implement the IUnsignedNumber<TSelf> and other generic math interfaces.

Smdn

Smdn.dll, fundamental utility and extension library

Smdn.Fundamental.Collection

Smdn.Fundamental.Collection.dll

Smdn.Fundamental.FourCC

Smdn.Fundamental.FourCC.dll

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.4 1,744 1/20/2023
3.1.3 849 4/29/2022
3.1.2 881 4/3/2022
3.1.1 403 3/30/2022
3.1.0 719 3/28/2022
3.0.0 9,507 8/20/2021