diff --git a/SharpCompress/Common/Rar/RarCryptoWrapper.cs b/SharpCompress/Common/Rar/RarCryptoWrapper.cs index 28cf79ca..91a93178 100644 --- a/SharpCompress/Common/Rar/RarCryptoWrapper.cs +++ b/SharpCompress/Common/Rar/RarCryptoWrapper.cs @@ -142,9 +142,10 @@ namespace SharpCompress.Common.Rar for (int i = 0; i < count; i++) { - buffer[i] = _data.Dequeue(); + buffer[offset+i] = _data.Dequeue(); Console.Write(buffer[i].ToString("x2") + " "); - } + } + Console.WriteLine(); } return count;