Skip to content

0.2.0

Compare
Choose a tag to compare
@MaxDesiatov MaxDesiatov released this 29 Sep 20:23
· 11 commits to main since this release
59b1878

This a bugfix release that breaks API compatibility. It fixes issues with reading OLE mini-streams, and hierarchies of directory entries. The DataReader API was updated to use Int instead of UInt64 to avoid potential overflow issues. Corresponding read methods on DataReader can now trigger a precondition assertion if you try to read after reaching an end-of-stream position. To prevent this, you should check the value of a new totalBytes property on DataReader.

Additionally, basic API documentation is now generated with swift-doc and is now hosted with GitHub Pages.

Breaking changes:

  • Add preconditions to DataStream, tweak seek API (#3) via @MaxDesiatov

Closed issues:

  • [Bug] Storage & Stream Structure is Different while testing .hwp file (#6)
  • [Bug] get wrong stream position while get "FileHeader" stream in ".hwp" file (#1)

Merged pull requests: