예제 #1
0
        public void TestVectorsFromRFC4648_should_decode_successfully(string original, string encoding)
        {
            var decoded = Encoding.ASCII.GetString(_base64.Decode(encoding));

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