Base64DecoderEnableHardwareAcceleration Property

Get or set whether the Base64Decoder should use hardware acceleration when available.

Definition

Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool EnableHardwareAcceleration { get; set; }

Property Value

Boolean
if hardware acceleration should be enabled; otherwise, .

Remarks

Gets or sets whether the Base64Decoder should use hardware acceleration when available.

Hardware acceleration defaults to on systems that support SSSE3 (x86/x64) or AdvSimd (Arm64). The hardware accelerated code path produces identical results to the scalar implementation.

  Note

This property is only available on .NET 8.0 and later.

See Also