Example #1
0
 public void Setup()
 {
     _source = new byte[NumberOfBytes];
     Base64TestHelper.InitalizeBytes(_source);
     _bytesDestination = new byte[Base64Encoder.GetMaxEncodedToUtf8Length(NumberOfBytes, format)];
     _charsDestination = new char[Base64Encoder.GetMaxEncodedToUtf8Length(NumberOfBytes, format)];
 }
Example #2
0
 public OperationStatus Base64ExperimentalWithLineBreaks()
 {
     return(Base64Encoder.EncodeToUtf8(_source, _bytesDestination, out _, out _, format));
 }