Exemplo n.º 1
0
        public void TestVectorsFromRFC4648_should_decode_successfully(string original, string encoding)
        {
            var decoded = Encoding.ASCII.GetString(_base64.Decode(encoding));

            decoded.Should().Be(original);
        }
Exemplo n.º 2
0
 public byte[] Decode_Data() => _encoder.Decode(_dataEncoded.AsSpan());                          // AsSpan for .NET Full
Exemplo n.º 3
0
 public byte[] Decode_Data() => _encoder.Decode(_dataEncoded);