예제 #1
0
 public void Setup()
 {
     _referenceCodec  = new ReferenceBase85Codec();
     _challengerCoded = new ChallengerCodec();
     _original        = new byte[Length];
     _encoded         = new char[_referenceCodec.MaximumDecodedLength(_original.Length)];
     _decoded         = new byte[_referenceCodec.DecodedLength(_encoded)];
     new Random(1234).NextBytes(_original);
     _referenceCodec.Encode(_original, _encoded);
 }