Smdn.Fundamental.PrintableEncoding.MimeEncoding 3.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0 .NET Standard 1.3 .NET Framework 4.5
dotnet add package Smdn.Fundamental.PrintableEncoding.MimeEncoding --version 3.1.0
NuGet\Install-Package Smdn.Fundamental.PrintableEncoding.MimeEncoding -Version 3.1.0
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.PrintableEncoding.MimeEncoding" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smdn.Fundamental.PrintableEncoding.MimeEncoding --version 3.1.0
#r "nuget: Smdn.Fundamental.PrintableEncoding.MimeEncoding, 3.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smdn.Fundamental.PrintableEncoding.MimeEncoding as a Cake Addin
#addin nuget:?package=Smdn.Fundamental.PrintableEncoding.MimeEncoding&version=3.1.0

// Install Smdn.Fundamental.PrintableEncoding.MimeEncoding as a Cake Tool
#tool nuget:?package=Smdn.Fundamental.PrintableEncoding.MimeEncoding&version=3.1.0

Smdn.Fundamental.PrintableEncoding.MimeEncoding

Smdn.Fundamental.PrintableEncoding.MimeEncoding.dll

API List

// Smdn.Fundamental.PrintableEncoding.MimeEncoding.dll (Smdn.Fundamental.PrintableEncoding.MimeEncoding-3.1.0)
//   Name: Smdn.Fundamental.PrintableEncoding.MimeEncoding
//   AssemblyVersion: 3.1.0.0
//   InformationalVersion: 3.1.0+0f59827eced400bac9539e303fb615aaa372eb7f
//   TargetFramework: .NETCoreApp,Version=v6.0
//   Configuration: Release

using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using Smdn.Formats.Mime;
using Smdn.Text.Encodings;

namespace Smdn.Formats.Mime {
  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public delegate string MimeEncodedWordConverter(Encoding charset, string encodingMethod, string encodedText);

  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public enum ContentTransferEncodingMethod : int {
    Base64 = 3,
    Binary = 2,
    EightBit = 1,
    GZip64 = 6,
    QuotedPrintable = 4,
    SevenBit = 0,
    UUEncode = 5,
    Unknown = 7,
  }

  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public enum MimeEncodingMethod : int {
    BEncoding = 1,
    Base64 = 1,
    None = 0,
    QEncoding = 2,
    QuotedPrintable = 2,
  }

  [Nullable(byte.MinValue)]
  [NullableContext(1)]
  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public static class ContentTransferEncoding {
    public const string HeaderName = "Content-Transfer-Encoding";

    public static BinaryReader CreateBinaryReader(Stream stream, ContentTransferEncodingMethod encoding) {}
    public static BinaryReader CreateBinaryReader(Stream stream, ContentTransferEncodingMethod encoding, [Nullable(2)] Encoding charset) {}
    public static BinaryReader CreateBinaryReader(Stream stream, ContentTransferEncodingMethod encoding, [Nullable(2)] Encoding charset, bool leaveStreamOpen) {}
    public static BinaryReader CreateBinaryReader(Stream stream, ContentTransferEncodingMethod encoding, bool leaveStreamOpen) {}
    public static BinaryReader CreateBinaryReader(Stream stream, string encoding) {}
    public static BinaryReader CreateBinaryReader(Stream stream, string encoding, bool leaveStreamOpen) {}
    public static Stream CreateDecodingStream(Stream stream, ContentTransferEncodingMethod encoding) {}
    public static Stream CreateDecodingStream(Stream stream, ContentTransferEncodingMethod encoding, bool leaveStreamOpen) {}
    public static Stream CreateDecodingStream(Stream stream, string encoding) {}
    public static Stream CreateDecodingStream(Stream stream, string encoding, bool leaveStreamOpen) {}
    public static StreamReader CreateTextReader(Stream stream, ContentTransferEncodingMethod encoding, Encoding charset) {}
    public static StreamReader CreateTextReader(Stream stream, ContentTransferEncodingMethod encoding, Encoding charset, bool leaveStreamOpen) {}
    public static StreamReader CreateTextReader(Stream stream, string encoding, string charset) {}
    public static StreamReader CreateTextReader(Stream stream, string encoding, string charset, bool leaveStreamOpen) {}
    [Obsolete("Use TryParse() instead.")]
    public static ContentTransferEncodingMethod GetEncodingMethod(string encoding) {}
    [Obsolete("Use Parse() instead.")]
    public static ContentTransferEncodingMethod GetEncodingMethodThrowException(string encoding) {}
    public static string GetEncodingName(ContentTransferEncodingMethod method) {}
    public static ContentTransferEncodingMethod Parse(string str) {}
    [NullableContext(byte.MinValue)]
    public static bool TryFormat(ContentTransferEncodingMethod encoding, Span<char> destination, out int charsWritten) {}
    public static bool TryParse(string str, out ContentTransferEncodingMethod encoding) {}
  }

  [Nullable(byte.MinValue)]
  [NullableContext(1)]
  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public static class MimeEncoding {
    [NullableContext(2)]
    [return: Nullable(1)] public static string Decode([Nullable(1)] string str, EncodingSelectionCallback selectFallbackEncoding, MimeEncodedWordConverter decodeMalformedOrUnsupported, out MimeEncodingMethod encoding, out Encoding charset) {}
    public static string Decode(string str) {}
    public static string Decode(string str, [Nullable(2)] EncodingSelectionCallback selectFallbackEncoding) {}
    public static string Decode(string str, [Nullable(2)] EncodingSelectionCallback selectFallbackEncoding, [Nullable(2)] MimeEncodedWordConverter decodeMalformedOrUnsupported) {}
    public static string Decode(string str, [Nullable(2)] EncodingSelectionCallback selectFallbackEncoding, out MimeEncodingMethod encoding, [Nullable(2)] out Encoding charset) {}
    public static string Decode(string str, out MimeEncodingMethod encoding, [Nullable(2)] out Encoding charset) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str, EncodingSelectionCallback selectFallbackEncoding) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str, EncodingSelectionCallback selectFallbackEncoding, MimeEncodedWordConverter decodeMalformedOrUnsupported) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str, EncodingSelectionCallback selectFallbackEncoding, MimeEncodedWordConverter decodeMalformedOrUnsupported, out MimeEncodingMethod encoding, out Encoding charset) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str, EncodingSelectionCallback selectFallbackEncoding, out MimeEncodingMethod encoding, out Encoding charset) {}
    [NullableContext(2)]
    public static string DecodeNullable(string str, out MimeEncodingMethod encoding, out Encoding charset) {}
    public static string Encode(string str, MimeEncodingMethod encoding) {}
    public static string Encode(string str, MimeEncodingMethod encoding, Encoding charset) {}
    public static string Encode(string str, MimeEncodingMethod encoding, Encoding charset, int foldingLimit, int foldingOffset) {}
    public static string Encode(string str, MimeEncodingMethod encoding, Encoding charset, int foldingLimit, int foldingOffset, string foldingString) {}
    public static string Encode(string str, MimeEncodingMethod encoding, int foldingLimit, int foldingOffset) {}
    public static string Encode(string str, MimeEncodingMethod encoding, int foldingLimit, int foldingOffset, string foldingString) {}
  }
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Smdn.Fundamental.PrintableEncoding.MimeEncoding:

Package Downloads
Smdn The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Smdn.dll, fundamental utility and extension library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0 219 6/2/2022
3.0.2 196 2/20/2022
3.0.1 139 12/12/2021
3.0.0 868 8/20/2021