public async Task RangedRandomToDevNull() { using (Stream cs = new RangedRandomBytesStream(defCount, 0xAD, 0xEF), dns = new DevNullStream()) await dns.CopyToAsync(cs); }
public async Task ConstantToDevNull() { using (Stream cs = new ConstantStream(defCount, new byte[] { 0xDE, 0xAD, 0xBE, 0xEF }), dns = new DevNullStream()) await dns.CopyToAsync(cs); }