Skip to content

Commit a8f851d

Browse files
+Invoke-Capstone
2 used for testing, should be 1024
1 parent 1c47134 commit a8f851d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Invoke-Capstone.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function Invoke-Capstone {
167167
$count = 0
168168
do
169169
{
170-
$count = $DeflateStream.Read($buffer, 0, 2)
170+
$count = $DeflateStream.Read($buffer, 0, 1024)
171171
if ($count -gt 0)
172172
{
173173
$Stream.Write($buffer, 0, $count)
@@ -187,7 +187,7 @@ function Invoke-Capstone {
187187
$count = 0
188188
do
189189
{
190-
$count = $DeflateStream.Read($buffer, 0, 2)
190+
$count = $DeflateStream.Read($buffer, 0, 1024)
191191
if ($count -gt 0)
192192
{
193193
$Stream.Write($buffer, 0, $count)

0 commit comments

Comments
 (0)