You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
509 B
23 lines
509 B
#if NET40 || NET461
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Internals.QrCode
|
|
{
|
|
class Stream4Methods
|
|
{
|
|
public static void CopyTo(System.IO.Stream input, System.IO.Stream output)
|
|
{
|
|
byte[] buffer = new byte[16 * 1024];
|
|
int bytesRead;
|
|
while ((bytesRead = input.Read(buffer, 0, buffer.Length)) > 0)
|
|
{
|
|
output.Write(buffer, 0, bytesRead);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|