8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a86f2 commit e72a1a4Copy full SHA for e72a1a4
LibGit2Sharp.Tests/BlobFixture.cs
@@ -70,6 +70,9 @@ public void CanReadBlobStream()
70
71
public static void CopyStream(Stream input, Stream output)
72
{
73
+ // Reused from the following Stack Overflow post with permission
74
+ // of Jon Skeet (obtained on 25 Feb 2013)
75
+ // http://stackoverflow.com/questions/411592/how-do-i-save-a-stream-to-a-file/411605#411605
76
var buffer = new byte[8*1024];
77
int len;
78
while ((len = input.Read(buffer, 0, buffer.Length)) > 0)
0 commit comments