Skip to content

Commit

Permalink
OrcLib: UncompressNTFSStream: remove dependency on VolumeStreamReader.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jgautier-anssi authored and fabienfl-orc committed Jun 4, 2024
1 parent b447997 commit 8bcd326
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/OrcLib/UncompressNTFSStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,3 +490,6 @@ HRESULT UncompressNTFSStream::SetFilePointer(
llCUAlignedPosition = (m_ullPosition / m_dwCompressionUnit) * m_dwCompressionUnit;
return NTFSStream::SetFilePointer(llCUAlignedPosition, FILE_BEGIN, &ullChainedPosition);
}

Orc::UncompressNTFSStream::~UncompressNTFSStream()
{}
2 changes: 2 additions & 0 deletions src/OrcLib/UncompressNTFSStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class UncompressNTFSStream : public NTFSStream
STDMETHOD(SetFilePointer)
(__in LONGLONG DistanceToMove, __in DWORD dwMoveMethod, __out_opt PULONG64 pCurrPointer);

~UncompressNTFSStream();

private:
HRESULT ReadRaw(CBinaryBuffer& buffer, size_t length);

Expand Down

0 comments on commit 8bcd326

Please sign in to comment.