Skip to content

Commit a9da486

Browse files
committed
fixed pipe buffer size
1 parent d18644f commit a9da486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ghostscript.NET/GhostscriptPipedOutput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public void ReadGhostscriptPipeOutput(object state)
157157
BinaryReader reader = new BinaryReader(_pipe);
158158

159159
// allocate memory space for the incoming output data
160-
byte[] buffer = new byte[1];
160+
byte[] buffer = new byte[_pipe.InBufferSize];
161161

162162
int readCount = 0;
163163

0 commit comments

Comments
 (0)