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); }
public void ReferenceEncode() { _referenceCodec.Encode(_original, _encoded); }