Skip to content

Commit

Permalink
EOF marker support in the window indicator.
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliiTsilnyk committed Feb 9, 2013
1 parent 084ef46 commit 779b7c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/NVcdiff/VcdiffDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ bool DecodeWindow ()
{
return false;
}

// Check EOF marker (8th bit).
// For ability to read VCDIFF file from the middle of the stream.
if (windowIndicator==128)
{
return false;
}

// The stream to load source data from for this window, if any
Stream sourceStream;
Expand Down

0 comments on commit 779b7c7

Please sign in to comment.