public void TestVectorsFromRFC4648_should_decode_successfully(string original, string encoding) { var decoded = Encoding.ASCII.GetString(_base64.Decode(encoding)); decoded.Should().Be(original); }
public byte[] Decode_Data() => _encoder.Decode(_dataEncoded.AsSpan()); // AsSpan for .NET Full
public byte[] Decode_Data() => _encoder.Decode(_dataEncoded);